From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Weimer <eweimer@thelocalphonecompany.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #3668: type error in serial
Date: Wed, 10 Oct 2007 17:32:17 -0400
Message-ID: <24664.1192051937@sss.pgh.pa.us> (raw)
In-Reply-To: <200710101902.l9AJ2Lbn080555@wwwmaster.postgresql.org>
References: <200710101902.l9AJ2Lbn080555@wwwmaster.postgresql.org>
"Eric Weimer" <eweimer@thelocalphonecompany.net> writes:
> Creating a table with a column of type serial causes the creation of a
> sequence tied as the default value for the column.
> The actual type of the column is integer, however the sequence created is of
> type bigint. If the sequence is created as a bigint, then the column should
> also be defined as bigint.
This is not a bug, primarily because we have only one size of sequence.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, eweimer@thelocalphonecompany.net
Subject: Re: BUG #3668: type error in serial
In-Reply-To: <24664.1192051937@sss.pgh.pa.us>
References: <200710101902.l9AJ2Lbn080555@wwwmaster.postgresql.org> <24664.1192051937@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox