Problem w/ psql crashing

From: aaron ross <ross(at)forum(dot)swarthmore(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Problem w/ psql crashing
Date: 1998-12-03 04:56:32
Message-ID: Pine.OSF.3.91.981202234837.17745A-100000@forum.swarthmore.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
This is a minor problem. I thought it would be better to post
it and let someone else decide if it mattered or not. The problem is
that psql crashes when it encounters a relation name greater than 32
characters. However, a 32 character name is handled correctly with a
lovely error. You can clearly see the problem below.
Sorry I can't be more helpful. If there is something I can do,
point me in the right direction. (email me, since I'm not subscribed)

Aaron.

geopow=> create table abcdefghijklmnopqrstuvwxy ( id serial );
NOTICE: CREATE TABLE will create implicit sequence
abcdefghijklmnopqrstuvwxy_id_seq for SERIAL column
abcdefghijklmnopqrstuvwxy.id
NOTICE: CREATE TABLE/UNIQUE will create implicit index
abcdefghijklmnopqrstuvwxy_id_key for table abcdefghijklmnopqrstuvwxy
ERROR: the relation name abcdefghijklmnopqrstuvwxy_id_seq is >= 32
characters long

geopow=> create table abcdefghijklmnopqrstuvwxyz ( id serial );
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or
while processing the request.
We have lost the connection to the backend, so further processing is
impossible. Terminating.

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 1998-12-03 10:06:07 Projecting attributes of function return values
Previous Message John Polstra 1998-12-03 02:24:33 Re: New Linux/libc5 CVSup client