Re: integer column to serial "type"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Linos <info(at)linos(dot)es>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: integer column to serial "type"
Date: 2012-10-25 15:39:51
Message-ID: 28962.1351179591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Linos <info(at)linos(dot)es> 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, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Linos 2012-10-25 15:48:03 Re: integer column to serial "type"
Previous Message Linos 2012-10-25 15:32:39 integer column to serial "type"