I created this table:

create table se (n  serial);

Column |  Type      |                   Modifiers
---------+---------+------------------------------------------------
n           | integer    | not null default nextval('se_n_seq'::regclass)

I inserted two record, later select, but column n (serial) no auto-incremented
banco=# select * from se;
n
---
0
0
(2 rows)

Why?
Thanks
Gustavo

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to