From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Moving tablespaces |
Date: | 2011-12-04 17:07:31 |
Message-ID: | 26148.1323018451@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-hackers |
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 12/04/2011 11:41 AM, Tom Lane wrote:
>> Hm, how portable is symlink-reading? If we can actually do that
>> without big headaches, then +1.
> I wondered that, specifically about Windows junction points, but we seem
> to have support for it already in dirmod.c::pgreadlink(). Surely there's
> no other currently supported platform where it would even be a question?
readlink is required by Single Unix Spec v2 (1997), which is what we've
been treating as our baseline expectation for Unix-oid platforms for
awhile now. Given that we dealt with the Windows side already, I don't
see a problem with making this assumption. At worst we'd end up needing
a couple more emulations in src/port, since surely there's *some* way to
do it on any platform with symlinks.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitriy Igrishin | 2011-12-05 11:53:22 | Clarification suggestion for 46.4 chapter. |
Previous Message | Andrew Dunstan | 2011-12-04 16:55:41 | Re: [HACKERS] Moving tablespaces |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2011-12-04 17:44:49 | Re: Review of VS 2010 support patches |
Previous Message | Andrew Dunstan | 2011-12-04 16:55:41 | Re: [HACKERS] Moving tablespaces |