Re: Postgres error message limited to 70 char in sqlca

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Postgres error message limited to 70 char in sqlca
Дата
Msg-id 20040522113412.GB5714@1
обсуждение исходный текст
Ответ на Postgres error message limited to 70 char in sqlca  ("Philippe Sempé " <psempe@partner.auchan.fr>)
Список pgsql-interfaces
On Fri, May 07, 2004 at 11:45:59AM +0200, Philippe Sempé wrote:
> 1 ) Can I tune postgres to force using more than 70 characters in "sqlca
> sqlerrm.sqlerrmc" ?

It's defined in .../include/sqlca.h:

#define SQLERRMC_LEN    70

> I've tried to change the value in sqlca.h but there's still only 70
> characters usefull.

Did you change this before you compile the libraries? If you just change
the user side, it won't help much.

> 2) I'm still looking for an answer to "socket command type unknow"
> this thread: http://archives.postgresql
> org/pgsql-interfaces/2004-05/msg00011.php

Sorry, never heard about this kind of failure. Does it still happen with
newer PostgreSQL versions?

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Error code handling in perl
Следующее
От: Oliver Elphick
Дата:
Сообщение: What has happened to pgaccess?