Re: Some one deleted pg_database entry how to fix it? - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: Some one deleted pg_database entry how to fix it?
Date
Msg-id Pine.LNX.4.58.0403170859370.16784@linuxworld.com.au
Whole thread Raw
In response to Re: Some one deleted pg_database entry how to fix it?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Some one deleted pg_database entry how to fix it?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 16 Mar 2004, Tom Lane wrote:

> Dave Cramer <pg@fastcrypt.com> writes:
> > Secondly this worked however I was unable to use the same name, some
> > remnants of the old database must have remained in pg_database.
>
> > I couldn't even reindex it with postgres -O -P
>
> Interesting.  I wonder what state the old tuple is really in ...
>
> Could you send me the pg_database table file (off-list)?
>

Without looking at the actual data, it seems like
PhonyHeapTupleSatisfiesNow() in GetRawDatabaseInfo() might be to blame.



pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: Some one deleted pg_database entry how to fix it?
Next
From: Shachar Shemesh
Date:
Subject: Re: tinyint and type problems