[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: Fix incorrect pattern-match processing in psql's \det command.

2016-01-29 Thread Tom Lane
Fix incorrect pattern-match processing in psql's \det command. listForeignTables' invocation of processSQLNamePattern did not match up with the other ones that handle potentially-schema-qualified names; it failed to make use of pg_table_is_visible() and also passed the name arguments in the wrong

[COMMITTERS] pgsql: pgbench: refactor handling of stats tracking

2016-01-29 Thread Alvaro Herrera
pgbench: refactor handling of stats tracking This doesn't add any functionality but just shuffles things around so that it can be reused and improved later. Author: Fabien Coelho Reviewed-by: Michael Paquier, Álvaro Herrera Branch -- master Details --- http://git.postgresql.org/pg/commi

[COMMITTERS] pgsql: Migrate PGPROC's backendLock into PGPROC itself, using a new tra

2016-01-29 Thread Robert Haas
Migrate PGPROC's backendLock into PGPROC itself, using a new tranche. Previously, each PGPROC's backendLock was part of the main tranche, and the PGPROC just contained a pointer. Now, the actual LWLock is part of the PGPROC. As with previous, similar patches, this makes it significantly easier t

[COMMITTERS] pgsql: Migrate replication slot I/O locks into a separate tranche.

2016-01-29 Thread Robert Haas
Migrate replication slot I/O locks into a separate tranche. This is following in a long train of similar changes and for the same reasons - see b319356f0e94a6482c726cf4af96597c211d8d6e and fe702a7b3f9f2bc5bf6d173166d7d55226af82c8 inter alia. Author: Amit Kapila Reviewed-by: Alexander Korotkov, Ro