[COMMITTERS] pgsql: Fix typo in comment.

2017-01-27 Thread Robert Haas
Fix typo in comment. Etsuro Fujita Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4bf371cf2a894abeda672996f24dc6603ceddc3c Modified Files -- contrib/postgres_fdw/postgres_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-co

[COMMITTERS] pgsql: Refactor bitmap heap scan estimation of heap pages fetched.

2017-01-27 Thread Robert Haas
Refactor bitmap heap scan estimation of heap pages fetched. Currently, we only need this logic in order to cost a Bitmap Heap Scan. But a pending patch for Parallel Bitmap Heap Scan also uses it to help figure out how many workers to use for the scan, which has to be determined prior to costing.

[COMMITTERS] pgsql: Restructure hba.c to replace 3 parallel lists with single list o

2017-01-27 Thread Tom Lane
Restructure hba.c to replace 3 parallel lists with single list of structs. tokenize_file() now returns a single list of TokenizedLine structs, carrying the same information as before. We were otherwise going to grow a fourth list to deal with error messages, and that was getting a bit silly. Har

[COMMITTERS] pgsql: Improve comments about ProcessUtility's queryString parameter.

2017-01-27 Thread Tom Lane
Improve comments about ProcessUtility's queryString parameter. Per discussion with Craig Ringer. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/fde5c037925b01b937923606c39460d94965672e Modified Files -- src/backend/tcop/utility.c | 15 --- 1

Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications and subscriptions

2017-01-27 Thread Alvaro Herrera
Peter Eisentraut wrote: > On 1/26/17 4:46 PM, Alvaro Herrera wrote: > > Peter Eisentraut wrote: > >> Fill in no_priv_msg for publications and subscriptions > >> > >> Even though these messages are not used yet, we should keep the list > >> complete. > > > > Hmm, should we add a StaticAssert() some

Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications and subscriptions

2017-01-27 Thread Peter Eisentraut
On 1/26/17 4:46 PM, Alvaro Herrera wrote: > Peter Eisentraut wrote: >> Fill in no_priv_msg for publications and subscriptions >> >> Even though these messages are not used yet, we should keep the list >> complete. > > Hmm, should we add a StaticAssert() somewhere that lengthof(msg_no_priv) > is so

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/3f6e085fe3a69d325d6af0142df7c99ffc725bd2 Modified Files -- src/include/n

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/fefb86b14776321ac153836398eadde867ff31af Modified Files -- src/include/nodes/no

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/60c1d8ffae74d0142f068a21f889b5890ff61142 Modified Files -- src/include/n

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/d63917d6aa6f9638ae523aff387911cb343c5eba Modified Files -- src/include/n

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/d02f038c35280207f29e50d777cf9e1cd69d6f52 Modified Files -- src/include/n

[COMMITTERS] pgsql: Orthography fixes for new castNode() macro.

2017-01-27 Thread Tom Lane
Orthography fixes for new castNode() macro. Clean up hastily-composed comment. Normalize whitespace. Erik Rijkers and myself Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/ae145306ca2e005a9433c966dddbd6f54b541813 Modified Files -- src/include/n

[COMMITTERS] pgsql: Check interrupts during hot standby waits

2017-01-27 Thread Simon Riggs
Check interrupts during hot standby waits Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/15c54e8363a28ab89e31bafebe6b093a77540b1d Modified Files -- src/backend/storage/ipc/standby.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-commi

[COMMITTERS] pgsql: Check interrupts during hot standby waits

2017-01-27 Thread Simon Riggs
Check interrupts during hot standby waits Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/332068a212c0357aa70c187134ba3af32fbd Modified Files -- src/backend/storage/ipc/standby.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-commi

[COMMITTERS] pgsql: Check interrupts during hot standby waits

2017-01-27 Thread Simon Riggs
Check interrupts during hot standby waits Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/357e061286d2653737eee509f69d70ea85475e3a Modified Files -- src/backend/storage/ipc/standby.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-commi

[COMMITTERS] pgsql: Check interrupts during hot standby waits

2017-01-27 Thread Simon Riggs
Check interrupts during hot standby waits Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/ace2cd80a028fc8775146c946d3aff87810e4392 Modified Files -- src/backend/storage/ipc/standby.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-commi

[COMMITTERS] pgsql: Check interrupts during hot standby waits

2017-01-27 Thread Simon Riggs
Check interrupts during hot standby waits Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/40b7800da24de920cb9478a22605fa4715dbc30d Modified Files -- src/backend/storage/ipc/standby.c | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-commi