Alternative Serial

Поиск
Список
Период
Сортировка
Искать
От
Ezequias Rodrigues da Rocha
Тема
Alternative Serial
Дата
Msg-id
55c095e90703110720o78dfcfeai2b31bbadf17582b7@mail.gmail.com
Список
Дерево обсуждения
Alternative Serial "Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>
Re: Alternative Serial "Milen A. Radev" <milen@radev.net>
Re: Alternative Serial "Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>
Re: Alternative Serial "Milen A. Radev" <milen@radev.net>
Hi list,

I know that serials must be created like this.

Create the Serial

Create a field table and reffers to the pre-created serial.

Now I noticed that it is possible to use the default value. I am almost quite sure that this is an alternative way and non polite.

I would like to know if I am correct and what does it means:

nextval('mySerial_id'::regclass)

What is regclass ?

Regards ,
--
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com/
use Mozilla Firefox:http://br.mozdev.org/firefox/
В списке pgadmin-support по дате отправления
От: Andy Shellam
Дата:
От: Ezequias Rodrigues da Rocha
Дата:
FAQ