Re: Unable to determine what has a particular OID

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: Andy Dale <andy(dot)dale(at)gmail(dot)com>, adrian(dot)klaver(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Unable to determine what has a particular OID
Date: 2010-06-18 19:20:41
Message-ID: 16876.1276888841@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Smith <greg(at)2ndquadrant(dot)com> writes:
> Andy Dale wrote:
>> I will however save/backup the files before removing them (just in
>> case anything goes wrong).

> If you do go through with this, I would recommend doing a complete
> database dump afterwards using pg_dump/pg_dumpall. That should make it
> immediately obvious if you broke something with the change.

Doing pg_dump would expose the mistake if you'd removed an actual
table's files. But I'm not sure it would expose it if you removed
an index ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-06-18 20:19:47 Re: rename table and triggers
Previous Message Greg Smith 2010-06-18 18:20:55 Re: Unable to determine what has a particular OID