rdbms: Allow PostgreSQL schema-check functions to find temporary tables
authorBrad Jorsch <bjorsch@wikimedia.org>
Sun, 18 Mar 2018 03:13:43 +0000 (23:13 -0400)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 5 Apr 2018 22:54:01 +0000 (22:54 +0000)
commit43d1f706be54b916923a93512892440e014fcac0
treecb20ad3738eeabd6e4b260bc951d810013fc013b
parent8dfeac7446391b4b1dada5429a48fdf4c3095a7b
rdbms: Allow PostgreSQL schema-check functions to find temporary tables

PostgreSQL puts temporary tables and such in a hidden, per-connection
"schema" that's checked for unqualified table accesses before the normal
search_path. We should check that in all the schema-checking functions.

Change-Id: I1194ac31f31133b177f624138afee19d00e454b9
includes/libs/rdbms/database/DatabasePostgres.php
includes/libs/rdbms/field/PostgresField.php