summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAndras Mantia <andras@kdab.com>2012-07-01 17:11:00 +0300
committerQt by Nokia <qt-info@nokia.com>2012-07-03 13:21:23 +0200
commit8ccab9b029ed2a2444d89a9cfc6c4a1866b8e82d (patch)
tree9e359c5e77d30a0ca7761f05d91e85b46b954058 /src/widgets
parentf128c1f6d3cbdc1aa13f9ec65fd2354ef91c1c48 (diff)
Add support for SQLSTATE error codes
Postgres can report detailed information about an error using error codes. See http://www.postgresql.org/docs/8.1/static/errcodes-appendix.html . The current driver doesn't report the error, nor is it supported by the QSqlError object. The patch appends the error to the error message, helping applications to: - handle different errors in a specific way - show correct, translated error messages, independently on the language of the postgres installation Change-Id: Ica3530ac33d3aaa9985e06f6c1f302ece9891033 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions