Fwd: BUG #4235: docu wrong for sqlerrmc[70]

Started by Robert Treatalmost 18 years ago2 messagesbugs
Jump to latest
#1Robert Treat
xzilla@users.sourceforge.net

re-directing wayward bug report...

---------- Forwarded Message ----------

Subject: BUG #4235: docu wrong for sqlerrmc[70]
Date: Thursday 12 June 2008
From: "Michael Enke" <michael.enke@wincor-nixdorf.com>
To: xzilla@users.sourceforge.net

The following bug has been logged online:

Bug reference: 4235
Logged by: Michael Enke
Email address: michael.enke@wincor-nixdorf.com
PostgreSQL version: 8.3.1
Operating system: Linux CentOS 5.1
Description: docu wrong for sqlerrmc[70]
Details:

In the 8.3.1 documentation, "32.11.2. sqlca" is written:
char sqlerrmc[70];
But a sizeof(sqlca.sqlerrm.sqlerrmc) tells me: 150

-------------------------------------------------------

#2Bruce Momjian
bruce@momjian.us
In reply to: Robert Treat (#1)
Re: Fwd: BUG #4235: docu wrong for sqlerrmc[70]

Robert Treat wrote:

re-directing wayward bug report...

---------- Forwarded Message ----------

Subject: BUG #4235: docu wrong for sqlerrmc[70]
Date: Thursday 12 June 2008
From: "Michael Enke" <michael.enke@wincor-nixdorf.com>
To: xzilla@users.sourceforge.net

The following bug has been logged online:

Bug reference: 4235
Logged by: Michael Enke
Email address: michael.enke@wincor-nixdorf.com
PostgreSQL version: 8.3.1
Operating system: Linux CentOS 5.1
Description: docu wrong for sqlerrmc[70]
Details:

In the 8.3.1 documentation, "32.11.2. sqlca" is written:
char sqlerrmc[70];
But a sizeof(sqlca.sqlerrm.sqlerrmc) tells me: 150

Good point. I have updated the documentation to use the same macro the C
file uses.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachments:

/rtmp/difftext/x-diffDownload+2-2