Serial Data Type

Поиск
Список
Период
Сортировка
От Naz Gassiep
Тема Serial Data Type
Дата
Msg-id 47F44B25.3030201@mira.net
обсуждение исходный текст
Ответы Re: Serial Data Type
Re: Serial Data Type
Список pgsql-general
I have just created a table using SELECT INTO however the PK was
supposed to be a serial. It is now an integer. To make it a serial I
just create the seq and set the default to be the nextval() of that
sequence right? is there anything else I need to do? It'll maintain the
transactional safety of a serial created default, right? I.e., it'll not
rollback seq values on a transaction abortion will it?
Thanks,
- Naz.

В списке pgsql-general по дате отправления:

Предыдущее
От: Ted Byers
Дата:
Сообщение: Re: (FAQ?) JOIN condition - 'WHERE NULL = NULL'
Следующее
От: "Adam Rich"
Дата:
Сообщение: Re: Serial Data Type