[PostgreSQL] pg_namespace errors from "SQL command"
Database management in a single PHP file
Brought to you by:
jakubvrana
No warning on the Select data page

SQL command returns same data, but it adds errors to Postgres log.
ERROR: syntax error at or near "AND" at character 60
STATEMENT: SELECT attnum, attname FROM pg_attribute WHERE attrelid = AND attnum > 0
ERROR: syntax error at or near "AND" at character 166
STATEMENT: SELECT relname, indisunique::int, indisprimary::int, indkey, indoption , (indpred IS NOT NULL)::int as indispartial FROM pg_index i, pg_class ci WHERE i.indrelid = AND ci.oid = i.indexrelid

Previously reported in https://php.vrana.cz/adminer-4-7-1.php#d-37340.
Fixed by a4e997f.
Last edit: Jakub Vrána 2019-11-11