Changed FOR UPDATE handling in Postgresql
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Thu, 20 Jun 2013 19:20:37 +0000 (19:20 +0000)
committerParent5446 <tylerromeo@gmail.com>
Sun, 1 Dec 2013 01:10:44 +0000 (01:10 +0000)
commit63d32eeb6f23b68ed783d6f6b5c6b39067b6316b
treef219b47ac380697c3e23fabc03d4b019aaf0451b
parent0d562bca2509d7813581ae1799828a25e4a9c0f8
Changed FOR UPDATE handling in Postgresql

Postgresql cannot handle FOR UPDATE with outer joins, but it allows
specifying which tables can be locked. This changes DatabasePostgresql
to render proper FOR UPDATE statements that only include the main
table and any tables in inner joins.

Bug: 47055
Change-Id: I1ac587ac39f448b9e7f4befb44826b43044ad6f0
includes/db/DatabasePostgres.php