pgsql: Skip setting up shared instrumentation for Hash node if not need

2018-02-04 Thread Tom Lane
Skip setting up shared instrumentation for Hash node if not needed. We don't need to set up the shared space for hash join instrumentation data if instrumentation hasn't been requested. Let's follow the example of the similar Sort node code and save a few cycles by skipping that when we can.

Re: pgsql: Fix another instance of unsafe coding for shm_toc_lookup failure

2018-02-04 Thread Thomas Munro
On Sat, Feb 3, 2018 at 3:08 PM, Tom Lane wrote: > Thomas Munro writes: >> However, it's not surprising that you drew the >> opposite conclusion (ie that it might in fact not be in the TOC), >> since the shm space is really only necessary for

pgsql: doc: Update mentions of MD5 in the documentation

2018-02-04 Thread Peter Eisentraut
doc: Update mentions of MD5 in the documentation Reported-by: Shay Rojansky Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/20446a4a04240ce9880331eea3082c906ede4f26 Modified Files -- doc/src/sgml/runtime.sgml | 34

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/1be67528e1088d8660acd13cb5eb6824a797ae08 Modified Files -- doc/src/sgml/release-10.sgml | 1163 +

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/0878b91f8d99e325ab1b697393187e804f0b104b Modified Files -- doc/src/sgml/release-9.3.sgml | 300

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b2e15d39d74f226f25a9362f1a1834bf25f47288 Modified Files -- doc/src/sgml/release-9.3.sgml | 300 +++

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- REL9_3_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b76aa1f5c078f4202006ef59112cd7890f47d979 Modified Files -- doc/src/sgml/release-9.3.sgml | 300 ++ 1

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/cf1cba3110f339eddecd66cdf7d8f9b4370f34c2 Modified Files -- doc/src/sgml/release-9.3.sgml | 300 +++

pgsql: Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.

2018-02-04 Thread Tom Lane
Release notes for 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21. Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f20a9972c7501f55390ff3dff33caed7340cd217 Modified Files -- doc/src/sgml/release-9.3.sgml | 300 +

Re: pgsql: Support parallel btree index builds.

2018-02-04 Thread Peter Geoghegan
On Sun, Feb 4, 2018 at 10:11 AM, Tom Lane wrote: > I'll be happier about it when the valgrind buildfarm animals are > happy. I don't know if you noticed, but I did post a patch for that on Friday. -- Peter Geoghegan

Re: pgsql: Support parallel btree index builds.

2018-02-04 Thread Tom Lane
Andres Freund writes: > On 2018-02-02 18:37:11 +, Robert Haas wrote: >> Support parallel btree index builds. > Wheee! Congrats Peter, Rushash, and everyone else involved! I'll be happier about it when the valgrind buildfarm animals are happy.

Re: pgsql: Support parallel btree index builds.

2018-02-04 Thread Peter Geoghegan
On Sun, Feb 4, 2018 at 9:42 AM, Andres Freund wrote: > Wheee! Congrats Peter, Rushash, and everyone else involved! Thanks! -- Peter Geoghegan

Re: pgsql: Support parallel btree index builds.

2018-02-04 Thread Andres Freund
Hi, On 2018-02-02 18:37:11 +, Robert Haas wrote: > Support parallel btree index builds. Wheee! Congrats Peter, Rushash, and everyone else involved! - Andres

pgsql: Doc: minor clarifications in xindex.sgml.

2018-02-04 Thread Tom Lane
Doc: minor clarifications in xindex.sgml. I noticed some slightly confusing or out-of-date verbiage here while working on the window RANGE patch. Seems worth committing separately. Branch -- master Details ---