Re: Fw: postgresql experts please help

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Fw: postgresql experts please help
Дата
Msg-id 4717F5CD.8070603@opencloud.com
обсуждение исходный текст
Ответ на Re: Fw: postgresql experts please help  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka wrote:

> Both of these problems are
> solved by using pg_get_serial_sequence, which should perhaps be
> mentioned more prominently in the documentation.

Alternatively if you really do want a particular sequence name rather
than letting SERIAL pick one for you, you can use an explicit CREATE
SEQUENCE and DEFAULT nextval('whatever') yourself. This is essentially
what SERIAL does under the covers anyway. See
http://www.postgresql.org/docs/8.2/static/datatype-numeric.html#DATATYPE-SERIAL

-O

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Fw: postgresql experts please help
Следующее
От: João Paulo Pires
Дата:
Сообщение: PostgreSQL JDBC Driver versus Encoding