DatabasePostgres: Ignore "IGNORE" option to update()
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Feb 2019 15:22:26 +0000 (10:22 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Feb 2019 15:39:45 +0000 (10:39 -0500)
commit814605a979633fc37bcfa8319ddbfe627a66a308
treec5aeb059f1d783fbaddb96557ea83544ebf95c8b
parentd78efd2363f8e11562d792529de1f0dee2fbb6a1
DatabasePostgres: Ignore "IGNORE" option to update()

PostgreSQL doesn't support anything like this. For now, avoid generating
invalid SQL by just ignoring the option. If we come up with a use case
someday, that can guide implementation of a workalike.

Also, remove a pointless "IGNORE" from populateExternallinksIndex60.php.
el_index_60 isn't uniquely indexed, so it has no effect anyway.

Bug: T215169
Change-Id: I1409c80b39834d1977c82c489226255a8cc93fd0
includes/libs/rdbms/database/DatabasePostgres.php
maintenance/populateExternallinksIndex60.php