psqlodbc - psqlodbc: I've attached a patch that uses the SQLSTATE from

From: dpage(at)pgfoundry(dot)org (User Dpage)
To: pgsql-committers(at)postgresql(dot)org
Subject: psqlodbc - psqlodbc: I've attached a patch that uses the SQLSTATE from
Date: 2005-10-04 19:03:19
Message-ID: 20051004190319.CC8641125F2E@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
I've attached a patch that uses the SQLSTATE from the backend any time
the error condition after executing a query is
STMT_ERROR_TAKEN_FROM_BACKEND. Besides solving the problem I reported,
this seems to make much more sense than setting the SQLSTATE arbitrarily
to HY000 "General Error" in this situation. I look forward to your
feedback.
[Chris Ingram]

Modified Files:
--------------
psqlodbc:
connection.c (r1.117 -> r1.118)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/connection.c.diff?r1=1.117&r2=1.118)
connection.h (r1.66 -> r1.67)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/connection.h.diff?r1=1.66&r2=1.67)
environ.c (r1.53 -> r1.54)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/environ.c.diff?r1=1.53&r2=1.54)
psqlodbc.h (r1.91 -> r1.92)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/psqlodbc.h.diff?r1=1.91&r2=1.92)
statement.c (r1.100 -> r1.101)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/statement.c.diff?r1=1.100&r2=1.101)
statement.h (r1.61 -> r1.62)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/statement.h.diff?r1=1.61&r2=1.62)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bloodnok 2005-10-04 20:23:32 veil - veil: Imported Sources
Previous Message Peter Eisentraut 2005-10-04 19:01:20 pgsql: Clean up some messages and fix missing translation support.