Column name's length - Mailing list pgsql-sql

From Pham, Thinh
Subject Column name's length
Date
Msg-id 551413BBBB03D111BF880060B01AACCE0B38ED@home.priority.net
Whole thread Raw
Responses Re: [SQL] Column name's length
List 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
beforeor
 
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@priority.net


pgsql-sql by date:

Previous
From: "Pham, Thinh"
Date:
Subject: column name's length
Next
From: maack
Date:
Subject: how to get table's name from variable ?