Re: [HACKERS] Tablespaces

Lists: pgsql-hackerspgsql-hackers-win32
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, <pgsql-hackers(at)postgresql(dot)org>, "PostgreSQL Win32 port list" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] Tablespaces
Date: 2004-03-03 15:22:30
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34B393@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

> >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