pgsql: doc: Fix typo

2018-11-23 Thread Peter Eisentraut
doc: Fix typo Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a80dcac60cdc4b96a296d33288afa74a80f42cca Modified Files -- doc/src/sgml/protocol.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: doc: Fix typo

2018-11-23 Thread Peter Eisentraut
doc: Fix typo Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/efcb06f1f593d2db0e953df6cc5b597057bc1716 Modified Files -- doc/src/sgml/protocol.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: doc: Fix typo

2018-11-23 Thread Peter Eisentraut
doc: Fix typo Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d0d7e9f473da06ed6979d12643aeb9f916f906b6 Modified Files -- doc/src/sgml/protocol.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: Don't allow partitioned indexes in pg_global tablespace

2018-11-23 Thread Alvaro Herrera
Don't allow partitioned indexes in pg_global tablespace Missing in dfa608141982. Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f-M3NMTCpv=vDfkoqHbMPFf=3-Z1ud=+1dhh00tc+z...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/de38ce1b831eef0

pgsql: Don't allow partitioned indexes in pg_global tablespace

2018-11-23 Thread Alvaro Herrera
Don't allow partitioned indexes in pg_global tablespace Missing in dfa608141982. Author: David Rowley Discussion: https://postgr.es/m/CAKJS1f-M3NMTCpv=vDfkoqHbMPFf=3-Z1ud=+1dhh00tc+z...@mail.gmail.com Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/a5586a0e

Re: pgsql: Fix tablespace handling for partitioned indexes

2018-11-23 Thread Alvaro Herrera
On 2018-Nov-23, David Rowley wrote: > A patch to fix is attached. Oops! Thanks. Pushed. I added a test line to verify that the error is thrown. -- Álvaro Herrerahttps://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Re: pgsql: Add WL_EXIT_ON_PM_DEATH pseudo-event.

2018-11-23 Thread Tom Lane
Thomas Munro writes: > Add WL_EXIT_ON_PM_DEATH pseudo-event. This patch added an empty file at the top of the git tree: > Modified Files > -- > - | 0 I assume this was a mistake. Please be more careful in future.

pgsql: Remove bogus file.

2018-11-23 Thread Tom Lane
Remove bogus file. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/0f75a466ac41a19214d22de73cceeb5dc792411a Modified Files -- - | 0 1 file changed, 0 insertions(+), 0 deletions(-)

pgsql: Silence compiler warnings

2018-11-23 Thread Alvaro Herrera
Silence compiler warnings Commit cfdf4dc4fc96 left a few unnecessary assignments, one of which caused compiler warnings, as reported by Erik Rijkers. Remove them all. Discussion: https://postgr.es/m/df0dcca2025b3d90d946ecc508ca9...@xs4all.nl Branch -- master Details --- https://git.pos

pgsql: Clamp semijoin selectivity to be not more than inner-join select

2018-11-23 Thread Tom Lane
Clamp semijoin selectivity to be not more than inner-join selectivity. We should never estimate the output of a semijoin to be more rows than we estimate for an inner join with the same input rels and join condition; it's obviously impossible for that to happen. However, given the relatively poor

pgsql: Add a 64-bit hash function for type citext.

2018-11-23 Thread Tom Lane
Add a 64-bit hash function for type citext. Amul Sul, reviewed by Hironobu Suzuki Discussion: https://postgr.es/m/caaj_b947jjnnr9cp45injsqkf6pa5mctmksrwpjows93ywq...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/48c41fa97480756b70ad095fe8d59199df9

pgsql: Add a 64-bit hash function for type hstore.

2018-11-23 Thread Tom Lane
Add a 64-bit hash function for type hstore. There's some question about the correctness of the hash function, but if it's wrong, the 32-bit version is also wrong. Amul Sul, reviewed by Hironobu Suzuki Discussion: https://postgr.es/m/caaj_b947jjnnr9cp45injsqkf6pa5mctmksrwpjows93ywq...@mail.gmail

Re: pgsql: Add WL_EXIT_ON_PM_DEATH pseudo-event.

2018-11-23 Thread Thomas Munro
On Sat, Nov 24, 2018 at 4:20 AM Tom Lane wrote: > Thomas Munro writes: > > - | 0 > > I assume this was a mistake. Please be more careful in future. Sorry, somehow this cruft was hiding in plain sight in the last couple of patch revisions I poste

Re: pgsql: Add WL_EXIT_ON_PM_DEATH pseudo-event.

2018-11-23 Thread Michael Paquier
On Fri, Nov 23, 2018 at 07:54:42AM +, Thomas Munro wrote: > Add WL_EXIT_ON_PM_DEATH pseudo-event. I was not paying much attention to this thread, but that's a nice cleanup. Thanks, Thomas. [... switching stuff to the new option ...] -- Michael signature.asc Description: PGP signature

pgsql: Fix float-to-integer coercions to handle edge cases correctly.

2018-11-23 Thread Tom Lane
Fix float-to-integer coercions to handle edge cases correctly. ftoi4 and its sibling coercion functions did their overflow checks in a way that looked superficially plausible, but actually depended on an assumption that the MIN and MAX comparison constants can be represented exactly in the float4

pgsql: Adjust new test case for more portability.

2018-11-23 Thread Tom Lane
Adjust new test case for more portability. Early returns from the buildfarm say that most critters are good with commit cbdb8b4c0, but gaur gives unexpected results with the test case involving a float8 that's one-ULP-less-than-2^63. It appears that that platform's version of rint() rounds that v