Re: Identification of serial fields

From: Carlos Guzman Alvarez <carlosga(at)telefonica(dot)net>
To: Developement <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Identification of serial fields
Date: 2003-08-02 22:20:51
Message-ID: 3F2C3943.1090708@telefonica.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello:

> In SERIAL columns the sequence depends on the column, so the association
> can be gathered from pg_depend.
>
> Check for a relation between a sequence and column of a table where the
> deptype = 'i'. (Taken from pg_dump)

Thanks very much i will try it and comment the results here :)

--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-08-02 22:59:54 logging disconnections?
Previous Message Rod Taylor 2003-08-02 21:39:24 Re: Identification of serial fields