| From: | Greg Smith <gsmith(at)gregsmith(dot)com> |
|---|---|
| To: | Laurent ROCHE <laurent_roche(at)yahoo(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: sequences and dependences |
| Date: | 2008-05-24 15:08:54 |
| Message-ID: | Pine.GSO.4.64.0805241105470.563@westnet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fergus McMenemie | 2008-05-24 15:28:46 | Re: SUMMARY: Solaved. apache perl cgi script cant load libpq.5.dylib on mac os tiger |
| Previous Message | Ioannis Tambouras | 2008-05-24 15:06:40 | Re: sequences and dependences |