Re: Some one deleted pg_database entry how to fix it?

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pg(at)fastcrypt(dot)com, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some one deleted pg_database entry how to fix it?
Date: 2004-03-16 22:00:37
Message-ID: Pine.LNX.4.58.0403170859370.16784@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 16 Mar 2004, Tom Lane wrote:

> Dave Cramer <pg(at)fastcrypt(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2004-03-16 22:05:37 Re: tinyint and type problems
Previous Message Robert Treat 2004-03-16 20:54:33 Re: Some one deleted pg_database entry how to fix it?