Re: Identification of serial fields - Mailing list pgsql-hackers

From Carlos Guzman Alvarez
Subject Re: Identification of serial fields
Date
Msg-id 3F2C3943.1090708@telefonica.net
Whole thread Raw
In response to Re: Identification of serial fields  (Rod Taylor <rbt@rbt.ca>)
Responses Re: Identification of serial fields
List 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



pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Identification of serial fields
Next
From: "Andrew Dunstan"
Date:
Subject: logging disconnections?