Postgres error message limited to 70 char in sqlca

From: " Philippe Sempé " <psempe(at)partner(dot)auchan(dot)fr>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Postgres error message limited to 70 char in sqlca
Date: 2004-05-07 09:45:59
Message-ID: 409B5AD7.000037.02700@WNT99714444
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi,

1 ) Can I tune postgres to force using more than 70 characters in "sqlca
sqlerrm.sqlerrmc" ?

It's too short, i've got some message truncated like that:
"column 'flow_cons_date' is of type timestamp without time zo [code=-400]"

I'd like to have more information in my application log files !

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

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

Thanks

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Rick Gigger 2004-05-07 19:03:14 Re: pgFoundry Open For Business
Previous Message Christopher Kings-Lynne 2004-05-07 01:41:55 Re: pgFoundry Open For Business