They are both the same, as far as I know. I usually make my table definition file like this: DROP SEQUENCE mytable_number_seq; DROP TABLE mytable; CREATE TABLE mytable ( number SERIAL );
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных