[COMMITTERS] pgsql: Fix problems with the "role" GUC and parallel query.

2017-10-29 Thread Robert Haas
Fix problems with the "role" GUC and parallel query. Without this fix, dropping a role can sometimes result in parallel query failures in sessions that have used "SET ROLE" to assume the dropped role, even if that setting isn't active any more. Report by Pavan Deolasee. Patch by Amit Kapila,

[COMMITTERS] pgsql: Fix problems with the "role" GUC and parallel query.

2017-10-29 Thread Robert Haas
Fix problems with the "role" GUC and parallel query. Without this fix, dropping a role can sometimes result in parallel query failures in sessions that have used "SET ROLE" to assume the dropped role, even if that setting isn't active any more. Report by Pavan Deolasee. Patch by Amit Kapila,

[COMMITTERS] pgsql: pg_receivewal: Add --no-sync option.

2017-10-29 Thread Robert Haas
pg_receivewal: Add --no-sync option. Michael Paquier, reviewed by Kuntal Ghosh and by me. I did a little wordsmithing on the documentation, too. Discussion: http://postgr.es/m/CAB7nPqTuXuyEoVKcWcExh_b0uAjgWd_14KfGLrCTccBZ=va...@mail.gmail.com Branch -- master Details ---

[COMMITTERS] pgsql: Fix problems with the "role" GUC and parallel query.

2017-10-29 Thread Robert Haas
Fix problems with the "role" GUC and parallel query. Without this fix, dropping a role can sometimes result in parallel query failures in sessions that have used "SET ROLE" to assume the dropped role, even if that setting isn't active any more. Report by Pavan Deolasee. Patch by Amit Kapila,

[COMMITTERS] pgsql: Add hash_combine64.

2017-10-29 Thread Robert Haas
Add hash_combine64. Extracted from a larger patch by Amul Sul, with some comment additions by me. Discussion: http://postgr.es/m/20171024113004.hn5qajypin4dy...@alap3.anarazel.de Branch -- master Details ---

[COMMITTERS] pgsql: Allow parallel query for prepared statements with generic plans.

2017-10-29 Thread Robert Haas
Allow parallel query for prepared statements with generic plans. This was always intended to work, but due to an oversight in max_parallel_hazard_walker, it didn't. In testing, we missed the fact that it was only working for custom plans, where the parameter value has been substituted for the