Re: SQLSTATE not updated in ecpg program.
От | Michael Meskes |
---|---|
Тема | Re: SQLSTATE not updated in ecpg program. |
Дата | |
Msg-id | 20061228123434.GA29626@feivel.credativ.de обсуждение исходный текст |
Ответ на | SQLSTATE not updated in ecpg program. (Ken Jennings <ken_jennings@bellsouth.net>) |
Ответы |
Re: SQLSTATE not updated in ecpg program.
|
Список | pgsql-interfaces |
On Wed, Dec 27, 2006 at 11:26:09PM -0500, Ken Jennings wrote: > A simple test program compiled with ecpg worked fine for 8.1.5 > which can be found here: http://www.kenjennings.cc/st/prg/ux/test_pgc.tar.gz > The program does simple error checking using sqlca.sqlstate which the postgres > docs (31.11.2) suggest is preferable to sqlca.sqlcode. Could you please upload a tarball that contains the sources and the makefile and not the RCS archive which this one seems to be? I will have a look at it asap. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
В списке pgsql-interfaces по дате отправления: