Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file
Date
Msg-id 5571028A.1070706@dunslane.net
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On 06/04/2015 09:23 AM, Amit Kapila wrote:
>
>
>
>     Okay, as we both seem to agree that it can be mostly used in
>     tablespace symlinks context, so I have changed the name to
>     remove_tablespace_symlink() and moved the function to
>     tablespace.c.  S_ISLINK check is used for non-windows code,
>     so not sure adding it here makes any real difference now that
>     we have made it specific to tablespace and we might need to
>     write small port specific code if we want to add S_ISLINK check.
>


Where is it used? I can't see it called at all in tablespace.c or xlog.c.

Perhaps I'm being overcautious, but here's more or less what I had in mind.

cheers

andrew

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [idea] more aggressive join pushdown on postgres_fdw
Next
From: Tom Lane
Date:
Subject: Incorrect order of database-locking operations in InitPostgres()