Re: Scanning pg_tablespace from walsender - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Scanning pg_tablespace from walsender
Date
Msg-id 19792.1294069811@sss.pgh.pa.us
Whole thread Raw
In response to Re: Scanning pg_tablespace from walsender  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Mon, Jan 3, 2011 at 16:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Wait a minute. �Isn't this problem about to metastasize into "I need to
>> read *every* global catalog from walsender"? �If not, why not? �If so,
>> I think we need another answer.

> Um, why would I need that? I need to be able to find all files, which
> means I need to find all tablespaces. I don't see how that would turn
> into "every global catalog"?

Well, if you just need to find all the files, scan the symlinks in
$PGDATA/pg_tblspc/.  Don't turn a filesystem problem into a catalog
problem.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Brar Piening
Date:
Subject: Re: Visual Studio 2010/Windows SDK 7.1 support
Next
From: Robert Haas
Date:
Subject: Re: Scanning pg_tablespace from walsender