wiki.techinc.nl/includes/libs/rdbms
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
..
connectionmanager
database rdbms: Remove references to pg_attrdef.adsrc in Postgres code 2019-01-22 19:23:06 +00:00
encasing
exception Merge "Don't throw an exception when waiting for replication times out" 2018-09-04 02:20:12 +00:00
field rdbms: Remove references to pg_attrdef.adsrc in Postgres code 2019-01-22 19:23:06 +00:00
lbfactory rdbms: rename setDomainPrefix to setLocalDomainPrefix in ILoadBalancer 2018-11-26 10:38:15 -08:00
loadbalancer Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
loadmonitor
ChronologyProtector.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
defines.php
TransactionProfiler.php Add TransactionProfiler::redefineExpectations and migrate appropriate callers 2018-12-10 16:02:30 +00:00