Re: currval, lastval, nextvar?

Поиск
Список
Период
Сортировка
От Andreas Wenk
Тема Re: currval, lastval, nextvar?
Дата
Msg-id 4A523EAB.9000001@netzmeister-st-pauli.de
обсуждение исходный текст
Ответ на Re: currval, lastval, nextvar?  (johnf <jfabiani@yolo.com>)
Список pgsql-novice
johnf schrieb:
> On Thursday 23 April 2009 07:24:26 am Carol Walter wrote:
>>  Does writing a record that automatically updates a
>> sequence count as calling nextval?
>
> Yes if the data type is serial.
>

don't want to make a big discussion out of it - but serial is not really
a datatype but more an alias ... correct? As I remember correctly it was
not possible to use serial in psql in older versions because of that.
Please correct me if i am wrong ...

Cheers

Andy

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

Предыдущее
От: Andreas Wenk
Дата:
Сообщение: Re: types
Следующее
От: "Allen, Danni"
Дата:
Сообщение: Re: variable use for selects