Column name's length

From: "Pham, Thinh" <tpham(at)mail(dot)priority(dot)net>
To: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Column name's length
Date: 1999-06-01 01:23:18
Message-ID: 551413BBBB03D111BF880060B01AACCE0B38ED@home.priority.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

Is there anyway you can increase the length of a column's name? The length
for one of my column is 21 characters and the server choke on that when i'm
trying to create the table. I'm using version 6.4.2. Below is the actual
error message i got:

postgres=> create table timeclockdepartment (
postgres-> timeclockdepartmentid serial ,
postgres-> name varchar (50) );
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or
while pr
ocessing the request.
We have lost the connection to the backend, so further processing is
impossible.
Terminating.

I know i could have made the name much shorter, but this program was written
way before i was here and for Microsoft SQL server and i'm now trying to
move it to postgresql and encounter this problem. Thank you very much for
any reply.

-----------------
Thinh Pham
IS Manager
Priority EMS Inc.
mailto:tpham(at)priority(dot)net

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message maack 1999-06-01 02:18:49 how to get table's name from variable ?
Previous Message Pham, Thinh 1999-06-01 01:09:14 column name's length