Re: what's stored in pg_tblspc

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: what's stored in pg_tblspc
Date: 2006-02-13 16:10:41
Message-ID: 9059C725-CF7C-4D59-B1A6-7EA31F2AB17F@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

Thanks, this was driver error....

Dave
On 13-Feb-06, at 9:26 AM, Tom Lane wrote:

> Dave Cramer <pg(at)fastcrypt(dot)com> writes:
>> I am confused, I thought that there were only supposed to be links to
>> the actual data in pg_tblspc ?
>
>> I have a db defined in a tablspace, but in pg_tblspc there is 1.2G of
>> data corrresponding to it?
>
> Are you on a system that has symlinks? Are you sure that whatever
> tool
> you're using to count the space doesn't traverse symlinks?
>
> IIRC, there is a corner case during replay-from-WAL where we'll create
> a plain directory under pg_tblspc to substitute for a symlink (if the
> symlink isn't there and we don't have the information to recreate it).
> I don't believe it's easy to get into that state though.
>
> regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2006-02-13 16:23:18 Re: Backslashes in string literals
Previous Message Tom Lane 2006-02-13 15:48:39 Re: Why don't we allow DNS names in pg_hba.conf?