From: | Reini Urban <rurban(at)x-ray(dot)at> |
---|---|
To: | PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: open item: tablespace handing in pg_dump/pg_restore |
Date: | 2004-10-04 21:25:35 |
Message-ID: | 4161BFCF.1060406@x-ray.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-hackers pgsql-hackers-win32 |
Tom Lane schrieb:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>>I am confused. CVS has in port.h:
>>so you should already be calling the junction code on Cygwin.
true. didn't thought of that. very strange.
> Yeah, I'm sure he is, but it looks from the regression results like it
> doesn't quite work on Cygwin. Is that fixable?
I'll step that in the debugger.
> If so, we'd have a choice of whether to rely on junctions or on
> Cygwin's own emulation of symlinks. I'd be inclined to think the
> former is a better idea,
> if only because it'd give you some chance of migrating a data
> directory between Cygwin and native ports.
Cygwin can do symlinks for directories via the magic .lnk file.
But Cygwin can also do junctions via hardlinks in ln.exe.
I thought link() calls the junction code.
I'll investigate why the libc link() failed, and if ln.exe does some
sifferent magic, similar to pgsymlink.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2004-10-04 21:27:23 | Re: [HACKERS] cygwin test package available |
Previous Message | Reini Urban | 2004-10-04 21:16:49 | cygwin test package available |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2004-10-04 21:27:23 | Re: [HACKERS] cygwin test package available |
Previous Message | Stefan Kaltenbrunner | 2004-10-04 21:23:29 | -HEAD build failure on OpenBSD 3.6-current/Sparc64 +patch |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-10-05 16:35:15 | Problem with Win32 pg_dump linking and symbols |
Previous Message | Tom Lane | 2004-10-04 19:35:16 | Re: open item: tablespace handing in pg_dump/pg_restore |