Id> Figure it out:

metamousetrap=>> create table my_table (first serial, second varchar);
Id> NOTICE:  CREATE TABLE will create implicit sequence 'my_table_first_seq' for 
SERIAL column 'my_table.first'
Id> NOTICE:  CREATE TABLE/UNIQUE will create implicit index 'my_table_first_key' for 
table 'my_table'
Id> CREATE
metamousetrap=>> drop table my_table;
Id> DROP
metamousetrap=>> drop sequence my_table_first_seq;
Id> DROP

Id> Anyone know how to list what sequences already exist?

Id> Thanks, Ian

\ds would do.


Reply via email to