(bug 33689) Fix incomplete query on constraints
authorsaper <saper@saper.info>
Wed, 28 Mar 2012 21:23:13 +0000 (23:23 +0200)
committersaper <saper@saper.info>
Wed, 28 Mar 2012 21:23:13 +0000 (23:23 +0200)
commitfa6ab166863f911e927720878763cda7e945f96d
tree7e37a9f695d25b01fda173fd65f3525f4407f69d
parent571e63cd2c2bac9a033e1816f5ad8b6a14b4f42b
(bug 33689) Fix incomplete query on constraints

Upgrade to 1.19 on Postgres fails due to incomplete query when trying to
defer foreign key for externallinks

* FieldInfo::conname() should return NULL not "" when constraint
  is not present
* Re-create missing constraint on schema update

Change-Id: I7ca351e07d228afdf4a5c3bef365f42a27c9ac45
RELEASE-NOTES-1.20
includes/db/DatabasePostgres.php
includes/installer/PostgresUpdater.php