Louis-David Mitterrand <vindex(at)apartia(dot)org> writes:
> Is there a way (from DBI) to deduce a sequence name from the table and
> column it is attached to?
Since 8.0 you can use pg_get_serial_sequence(), see
http://www.postgresql.org/docs/8.0/static/functions-info.html
regards, tom lane