From: Radius Administrator <radius@mail.cnz.com>
To: pgsql-sql@postgresql.org
Subject: INT8 sequences
Date: Mon, 7 May 2001 11:10:50 -0500 (EST)
Message-ID: <200105071610.f47GAoT11581@mail.cnz.com> (raw)
Is it true that PostgreSQL sequences are always INT4? If so, how
would the following be modified to work as obviously intended?
CREATE SEQUENCE tbl_id INCREMENT 1 START 1;
CREATE TABLE tbl
(
id INT8 DEFAULT NEXTVAL('tbl_id') PRIMARY KEY
);
Thanks.
Lyle Frost
Citadel Network
www.cnz.com
radius@cnz.com
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-sql@postgresql.org
Cc: radius@mail.cnz.com
Subject: Re: INT8 sequences
In-Reply-To: <200105071610.f47GAoT11581@mail.cnz.com>
References: <200105071610.f47GAoT11581@mail.cnz.com>
* 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