[COMMITTERS] pgsql: pg_stat_statements: Add a comment about the dangers of padding b

2017-10-20 Thread Robert Haas
pg_stat_statements: Add a comment about the dangers of padding bytes. Inspired by a patch from Julien Rouhaud, but I reworded it. Discussion: http://postgr.es/m/CAOBaU_a8AH8=ypfqgHnDYu06ts+jWTUgh=vgcxa3ynv-k10...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg

[COMMITTERS] pgsql: Fix misimplementation of typcache logic for extended hashing.

2017-10-20 Thread Tom Lane
Fix misimplementation of typcache logic for extended hashing. The previous coding would report that an array type supports extended hashing if its element type supports regular hashing. This bug is only latent at the moment, since AFAICS there is not yet any code that depends on checking presence

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Fix typcache's failure to treat ranges as container types.

2017-10-20 Thread Tom Lane
Fix typcache's failure to treat ranges as container types. Like the similar logic for arrays and records, it's necessary to examine the range's subtype to decide whether the range type can support hashing. We can omit checking the subtype for btree-defined operations, though, since range subtypes

[COMMITTERS] pgsql: Convert SGML IDs to lower case

2017-10-20 Thread Peter Eisentraut
Convert SGML IDs to lower case IDs in SGML are case insensitive, and we have accumulated a mix of upper and lower case IDs, including different variants of the same ID. In XML, these will be case sensitive, so we need to fix up those differences. Going to all lower case seems most straightforwar