Re: [pgsql-hackers-win32] Tablespaces - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [pgsql-hackers-win32] Tablespaces
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B393@algol.sollentuna.se
Whole thread Raw
List pgsql-hackers
> >To create symlinked directories on Win2k NTFS see:
> >    http://www.sysinternals.com/ntw2k/source/misc.shtml#junction
> >
> >
> >
>
> I don't think we could use this s/w though, unless the author is
> prepared to relicense it. I'm sure implementing a clean room
> version of
> the relevant parts wouldn't be too hard, though.

Definitly not (ooh, danger...) - it's a simple and well documented call
to DeviceIOControl().
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/
base/fsctl_set_reparse_point.asp
is the one you want, I think.

We can always reference to that utility as a good way to get information
about the junctions pgsql has created...

//Magnus

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [pgsql-hackers-win32] Tablespaces
Next
From: Jan Wieck
Date:
Subject: Client side copy functionality