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