Column name's length

Поиск
Список
Период
Сортировка
От Pham, Thinh
Тема Column name's length
Дата
Msg-id 551413BBBB03D111BF880060B01AACCE0B38ED@home.priority.net
обсуждение исходный текст
Ответы Re: [SQL] Column name's length
Список 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 по дате отправления:

Предыдущее
От: "Pham, Thinh"
Дата:
Сообщение: column name's length
Следующее
От: maack
Дата:
Сообщение: how to get table's name from variable ?