Re: $PGDATA/base/???

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: bpalmer <bpalmer(at)crimelabs(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: $PGDATA/base/???
Date: 2001-01-17 23:27:59
Message-ID: 20010117172759.A25108@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 17, 2001 at 05:49:36PM -0500, Bruce Momjian wrote:
> Wow, this looks great, and it worked the first time too. I will commit
> if no one makes objects.
>

I object. The code displays oids and tablenames or relnames. Oid is just
the initial, default filename for tables, and may change to something other
than the oid. Currently, the reindex code is the only place that could change
the relfilenode without changing the oid, but I think there may be more
in the future.

Here's a patch to Brandon's code (completely untested, BTW):

Ross

Attachment Content-Type Size
oid2name.c.diff text/plain 1.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Swan 2001-01-17 23:55:09 Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Previous Message Bruce Momjian 2001-01-17 22:49:36 Re: $PGDATA/base/???