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" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > > > The following bug has been logged online: > > Bug reference: 4235 > Logged by: Michael Enke > Email address: [EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/ecpg.sgml =================================================================== RCS file: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v retrieving revision 1.85 diff -c -c -r1.85 ecpg.sgml *** doc/src/sgml/ecpg.sgml 3 Dec 2007 23:49:50 -0000 1.85 --- doc/src/sgml/ecpg.sgml 12 Jun 2008 19:13:28 -0000 *************** *** 4061,4067 **** struct { int sqlerrml; ! char sqlerrmc[70]; } sqlerrm; char sqlerrp[8]; long sqlerrd[6]; --- 4061,4067 ---- struct { int sqlerrml; ! char sqlerrmc[SQLERRMC_LEN]; } sqlerrm; char sqlerrp[8]; long sqlerrd[6];
-- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs