Re: automatic sequences

From: Richard Harvey Chapman <hchapman(at)3gfp(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: automatic sequences
Date: 2000-07-12 18:42:25
Message-ID: Pine.LNX.4.10.10007121141010.10311-100000@smile.3gfp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 12 Jul 2000, Richard Harvey Chapman wrote:

> I'm having trouble with postgres' default naming scheme for sequences.
>
> Does it only use the first 13 characters of the table name and column name
> so it doesn't pass the 32 character name limit?

nevermind, it is in fact as listed above. I'll just have to start varying
my names before the first 13 characters.

R.

jui=# create table abcdefghijklmnop (
jui(# abcdefghijklmnop SERIAL PRIMARY KEY);
NOTICE: CREATE TABLE will create implicit sequence
'abcdefghijklm_abcdefghijklm_seq' for SERIAL column
'abcdefghijklmnop.abcdefghijklmnop'
NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index
'abcdefghijklmnop_pkey' for table 'abcdefghijklmnop'
CREATE

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Howie 2000-07-12 19:09:18 Re: Slashdot discussion
Previous Message Javaboy62 2000-07-12 18:39:24 Enterprise Java Beans support?