From: Tom Lane <tgl@sss.pgh.pa.us>
To: daniel.degasperi@r3-gis.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8260: problem with sequence and tablename
Date: Thu, 27 Jun 2013 13:10:06 -0400
Message-ID: <25002.1372353006@sss.pgh.pa.us> (raw)
In-Reply-To: <E1UsE64-0000eC-MR@wrigleys.postgresql.org>
References: <E1UsE64-0000eC-MR@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
daniel.degasperi@r3-gis.com writes:
> CREATE TABLE t23456789012345678901234567890123456789012345678901
> (
> t1234_id serial,
> PRIMARY KEY (t1234_id)
> )
> WITH (
> OIDS=FALSE
> );
> This generated the sequence:
> CREATE SEQUENCE
> t2345678901234567890123456789012345678901234567890_t1234_id_seq
That's operating as designed.
> The table-part in the sequence name was truncated.
Would you rather it failed entirely? You're up against the limit on
name length (63 bytes in a standard Postgres build).
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, daniel.degasperi@r3-gis.com
Subject: Re: BUG #8260: problem with sequence and tablename
In-Reply-To: <25002.1372353006@sss.pgh.pa.us>
References: <E1UsE64-0000eC-MR@wrigleys.postgresql.org> <25002.1372353006@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