Some macros for error field codes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Some macros for error field codes
Date: 2003-07-28 07:46:39
Message-ID: Pine.LNX.4.56.0307271802120.1197@krusty.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Should we create some user-friendly macros for the error field codes? I
have a feeling that PGXYZ_SQLSTATE may make for better code than just 'C'.

--
Peter Eisentraut peter_e(at)gmx(dot)net

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-28 07:47:39 SQLSTATEs for warnings
Previous Message Peter Eisentraut 2003-07-28 07:44:27 Equivalent of PQresultErrorField for PGconn?