Re: [GENERAL] integer column to serial "type"

2012-10-25 Thread Linos
On 25/10/12 19:45, Raymond O'Donnell wrote: > On 25/10/2012 16:32, Linos wrote: >> Hello, >> there is some way to get and old integer primary key column to show the >> "type" >> serial at table description? >> >> I had a table like this: >> >> CREATE TABLE test >> ( >> test_id integer NOT N

Re: [GENERAL] integer column to serial "type"

2012-10-25 Thread Raymond O'Donnell
On 25/10/2012 16:32, Linos wrote: > Hello, > there is some way to get and old integer primary key column to show the > "type" > serial at table description? > > I had a table like this: > > CREATE TABLE test > ( > test_id integer NOT NULL, > CONSTRAINT test_pkey PRIMARY KEY (test_id),

Re: [GENERAL] integer column to serial "type"

2012-10-25 Thread Linos
On 25/10/12 17:39, Tom Lane wrote: > Linos writes: >> there is some way to get and old integer primary key column to show the >> "type" >> serial at table description? > > No, because there is no such type. "serial" is just a convenient macro > that you can use in CREATE TABLE; it's not a

Re: [GENERAL] integer column to serial "type"

2012-10-25 Thread Tom Lane
Linos writes: > there is some way to get and old integer primary key column to show the > "type" > serial at table description? No, because there is no such type. "serial" is just a convenient macro that you can use in CREATE TABLE; it's not a real type. regards,

[GENERAL] integer column to serial "type"

2012-10-25 Thread Linos
Hello, there is some way to get and old integer primary key column to show the "type" serial at table description? I had a table like this: CREATE TABLE test ( test_id integer NOT NULL, CONSTRAINT test_pkey PRIMARY KEY (test_id), ); that i would like to see as: CREATE TABLE test (