Re: [HACKERS] SERIAL type isn't listed...?

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] SERIAL type isn't listed...?
Date: 2000-02-03 16:28:07
Message-ID: Pine.GSO.4.02A.10002031727040.10941-100000@Katt.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Serial isn't a type. The parser transforms it to int4 plus some default
and a sequence. There is a TODO item in this direction, but I think no one
is quite sure how/why/whether to do it.

On Thu, 3 Feb 2000, The Hermit Hacker wrote:

>
> Shouldn't this produce something? Was talking with Dave Page today about
> the lack of a serial type in PgAdmin, and he mentioned that its not a listed
> type?
>
>
> template1=> SELECT typname FROM pg_type WHERE typrelid = 0 and typname='serial';
> typname
> ---------
> (0 rows)
>
>
> Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
>
>
> ************
>
>

--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak - Zakkr 2000-02-03 16:31:04 array operators to the main tree
Previous Message Peter Eisentraut 2000-02-03 16:26:50 Re: [HACKERS] Proposed Changes to PostgreSQL