From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeremy Buchmann <jeremy@wellsgaming.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Can't drop table (repost)
Date: Wed, 25 Apr 2001 13:30:40 -0400
Message-ID: <29752.988219840@sss.pgh.pa.us> (raw)
In-Reply-To: <B70C5485.2A0A%jeremy@wellsgaming.com>
References: <B70C5485.2A0A%jeremy@wellsgaming.com>
Jeremy Buchmann <jeremy@wellsgaming.com> writes:
> Okay great, but how do I know what tables I need to drop if it just gives me
> a number? That 'xxxxxxx' is just some number like '8892659'. Where is the
> mapping from number->name?
select relname from pg_class where oid = '8892659';
More recent versions do provide the relation name instead of number
in that error message, btw.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jeremy@wellsgaming.com
Subject: Re: Can't drop table (repost)
In-Reply-To: <29752.988219840@sss.pgh.pa.us>
References: <B70C5485.2A0A%jeremy@wellsgaming.com> <29752.988219840@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox