qt5base-lts/src/sql
Israel Lins f4d7b4d10f PSQL: lastInsertId without OID on table
Make lastInsertID work for tables without OIDs.
The use of OID in tables is now deprecated in PostgeSQL and
lastval() is now provided.

http://www.postgresql.org/docs/8.1/interactive/runtime-config-compatible.html#GUC-DEFAULT-WITH-OIDS

Change-Id: I01dfdd7a2aab8826487657f691fea3c9268c16b2
Reviewed-by: Israel Lins Albuquerque <israelins85@yahoo.com.br>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2013-02-28 10:04:46 +01:00
..
doc fix doc page urls 2013-02-04 14:28:24 +01:00
drivers PSQL: lastInsertId without OID on table 2013-02-28 10:04:46 +01:00
kernel Rename the SQL driver header files to _p.h (make private) 2013-02-26 11:20:06 +01:00
models Merge remote-tracking branch 'origin/stable' into dev 2013-02-14 14:24:57 +01:00
README.module Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sql.pro remove explicit load(qt_build_config)s from the libraries 2012-10-19 13:02:17 +02:00

Before building the Qt library, the Qt SQL module can be enabled for
specific databases using 'configure'.  'configure' is located at the
top of your QTDIR.

Specific databases drivers can be enabled using one of the following
options:

	./configure [-qt-sql-<driver>] [-plugin-sql-<driver>]

or disabled using the following option:

	./configure [-no-sql-<driver>]

Where <driver> is the name of the driver, for example 'psql'.  This
will configure the Qt library to compile the specified driver into
the Qt lib itself.

For example, to build the PostgreSQL driver directly into the Qt
library, configure Qt like this:

	./configure -qt-sql-psql

In addition, you may need to specify an extra include path, as some
database drivers require headers for the database they are using,
for example:

	./configure -qt-sql-psql -I/usr/local/include

If instead you need to build the PostgreSQL driver as a dynamically
loaded plugin, configure Qt like this:

	./configure -plugin-sql-psql

To compile drivers as dynamically loaded plugins, see the
QTDIR/plugins/src/sqldrivers directory.  Use 'configure -help'
for a complete list of configure options.  See the Qt documentation
for a complete list of supported database drivers.