Re: sequences and dependences - Mailing list pgsql-general

From Greg Smith
Subject Re: sequences and dependences
Date
Msg-id Pine.GSO.4.64.0805241105470.563@westnet.com
Whole thread Raw
In response to sequences and dependences  (Laurent ROCHE <laurent_roche@yahoo.com>)
List pgsql-general
On Fri, 23 May 2008, Laurent ROCHE wrote:

> I would like to write a request where I would get the table name and
> column name of a sequence. I have been looking at the sytem table and
> could not link the sequence from pg_class to a table (and even less to a
> table).

There's an example of how to chain between two pg_class entries using
pg_depend that I think is close to what you're looking for at
http://wiki.postgresql.org/wiki/Fixing_Sequences

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-general by date:

Previous
From: Ioannis Tambouras
Date:
Subject: Re: sequences and dependences
Next
From: Fergus McMenemie
Date:
Subject: Re: SUMMARY: Solaved. apache perl cgi script cant load libpq.5.dylib on mac os tiger