From: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Sequence name length
Date: Wed, 17 Jul 2002 12:38:43 +1000
Message-ID: <3D34D8B3.8060102@oasis.net.au> (raw)
Hi,
Just a quick one on the length of the name of a sequence.
I have some table with long(ish) names like : eselect_maincategory
The primary key is named : maincat_id
When I create the table the sequence sql looks like
nextval('"eselect_maincategory_maincat_id_seq"'::text)
However the sequence created is named :
eselect_maincategory_maincat_id ( the '_seq' is lopped off )
This looke like a max of 31 characters.
Is a sequence name length limited to 31 characters or is it the tool I'm
using - phpPgAdmin, I wonder ?
Your time and thoughts are very much appreciated.
Thank you.
Rudi Starcevic.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rudi@oasis.net.au
Subject: Re: Sequence name length
In-Reply-To: <3D34D8B3.8060102@oasis.net.au>
* 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