When I use pgAdmin3 to create a column of type serial
, why does it instead create nextval('prices_id_seq'::regclass)
?
Should we keep this type defined by pgAdmin? Manually create the table with SQL defining id
column as type serial
causes the pgAdmin SQL pane to again display it as nextval('prices_id_seq'::regclass)
.
pgAdmin SQL Pane
id integer NOT NULL DEFAULT nextval('prices_id_seq'::regclass)
::regclass
thing here. I suspect that pgAdmin3 is simply being overly verbose.