pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nickf@ontko.com
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Cc: Ray Ontko <rayo@ontko.com>
Subject: Re: cannot find attribute 1 of relation (second occurrence.)
Date: Tue, 21 May 2002 11:42:47 -0400
Message-ID: <21129.1021995767@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGGEAFFAAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGGEAFFAAA.nickf@ontko.com>

"Nick Fankhauser" <nickf@ontko.com> writes:
> No Problem- we'll do that. Is there a table that contains the mapping from
> the database object names to the actual filenames?

Look at the relfilenode column of pg_class for the individual file
names, and at the OID column of pg_database for the directory names.
Probably would be wise to have notes premade about the filenames of
pg_attribute and all its indexes ...

contrib/oid2name may be useful.

			regards, tom lane



view thread (4+ messages)

Message-ID: <21129.1021995767@sss.pgh.pa.us>
Permalink:  ../21129.1021995767@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21129.1021995767@sss.pgh.pa.us

 · 

reply

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, nickf@ontko.com, rayo@ontko.com
  Subject: Re: cannot find attribute 1 of relation (second occurrence.)
  In-Reply-To: <21129.1021995767@sss.pgh.pa.us>
  References: <NEBBLAAHGLEEPCGOBHDGGEAFFAAA.nickf@ontko.com> <21129.1021995767@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