find the sequence name

Posted by ads' corner on Wednesday, 2006-07-05
Posted in [Postgresql]

Because I always forget this function name:

pg_get_serial_sequence(table_name, column_name)

Normally it should be: 'table_name' . '__' . 'column_name' . '_' . 'seq'.


Categories: [Postgresql]
Tags: [Postgresql] [Sequence] [Sql]