wiki.techinc.nl/includes/libs/rdbms/database
Jeff Janes 27d342ef4b rdbms: Remove references to pg_attrdef.adsrc in Postgres code
PostgreSQL v12 will remove the long-deprecated column
pg_attrdef.adsrc.  The supported way to introspect into column
default values is pg_get_expr(adbin, adrelid), which works
back through all versions of PostgreSQL supported by wikimedia.

Changing to the supported method will allow the upcoming v12 of the
database to be used while maintaining compatibility with older
versions, without needing to write version-specific code.

This patch has been tested with maintenance/update.php and
with phpunit in PostgreSQL versions 9.2, 11, and 12dev.  It does
not harm the first two, and fixes errors that would otherwise
arise in the dev version.  All unit tests which pass under version
11 now pass under 12dev as well.

Change-Id: I874d347fd286b26773113d4f0c6c30d9a4055ad3
2019-01-22 19:23:06 +00:00
..
position
resultwrapper
utils
AtomicSectionIdentifier.php
Database.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
DatabaseDomain.php rdbms: re-add DB domain sanity checks to LoadBalancer 2018-10-16 23:35:05 +00:00
DatabaseMssql.php rdbms: clean up return values of IDatabase write methods 2018-10-30 03:34:52 +00:00
DatabaseMysqlBase.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
DatabaseMysqli.php rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
DatabasePostgres.php rdbms: Remove references to pg_attrdef.adsrc in Postgres code 2019-01-22 19:23:06 +00:00
DatabaseSqlite.php DatabaseSqlite::insert: Fix affected row count 2018-10-31 17:13:45 +01:00
DBConnRef.php rdbms: Database::selectDB() update the domain and handle failure better 2018-10-10 12:03:30 -07:00
IDatabase.php rdbms: add ILBFactory::redefineLocalDomain method 2018-11-22 23:51:44 -08:00
IMaintainableDatabase.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
MaintainableDBConnRef.php rdbms: Add @deprecate tag to MaintainableDBConnRef class alias 2018-11-05 18:55:20 +00:00