Go to file
Andras Mantia 8ccab9b029 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>
2012-07-03 13:21:23 +02:00
bin Make QWindowSystemInterface part of QPA API 2012-07-03 01:55:37 +02:00
config.tests Move DirectFB tests into qpa 2012-07-03 01:55:22 +02:00
dist Add support for SQLSTATE error codes 2012-07-03 13:21:23 +02:00
doc Remove the MacMainWindow example. 2012-05-30 01:54:45 +02:00
examples Make QCalendarWidget use its locale's firstDayOfWeek. 2012-06-28 17:15:17 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs qmake: improve the .pc files generator 2012-07-03 01:08:44 +02:00
qmake qmake: improve the .pc files generator 2012-07-03 01:08:44 +02:00
src Add support for SQLSTATE error codes 2012-07-03 13:21:23 +02:00
tests Fixed warnings in qnetworkreply unit test 2012-07-03 04:03:12 +02:00
tools buildsystem: Remove SXE from the configure and qconfig-*.h files 2012-07-02 10:10:56 +02:00
util QUnicodeTables: some internal API renamings 2012-06-22 09:47:59 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Update .gitignore 2012-06-29 15:49:06 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Move DirectFB tests into qpa 2012-07-03 01:55:22 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Restore building of examples, tests. 2012-06-22 05:21:52 +02:00
sync.profile Make QWindowSystemInterface part of QPA API 2012-07-03 01:55:37 +02:00