[COMMITTERS] pgsql: Implement binary heap replace-top operation in a smarter way.

2016-09-11 Thread Heikki Linnakangas
Implement binary heap replace-top operation in a smarter way. In external sort's merge phase, we maintain a binary heap holding the next tuple from each input tape. On each step, the topmost tuple is returned, and replaced with the next tuple from the same tape. We were doing the replacement by de

[COMMITTERS] pgsql: Fix and simplify MSVC build's handling of xml/xslt/uuid dependen

2016-09-11 Thread Tom Lane
Fix and simplify MSVC build's handling of xml/xslt/uuid dependencies. Solution.pm mistakenly believed that the xml option requires the xslt option, when actually the dependency is the other way around; and it believed that libxml requires libiconv, which is not necessarily so, so we shouldn't enfo

[COMMITTERS] pgsql: Allow CREATE EXTENSION to follow extension update paths.

2016-09-11 Thread Tom Lane
Allow CREATE EXTENSION to follow extension update paths. Previously, to update an extension you had to produce both a version-update script and a new base installation script. It's become more and more obvious that that's tedious, duplicative, and error-prone. This patch attempts to improve matt

[COMMITTERS] pgsql: psql tab completion for CREATE DATABASE ... TEMPLATE ...

2016-09-11 Thread Kevin Grittner
psql tab completion for CREATE DATABASE ... TEMPLATE ... Sehrope Sarkuni, reviewed by Merlin Moncure & Vitaly Burovoy with some editing by me Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/52803098ab26051c0c9802f3c19edffc90de8843 Modified Files -- src/b

[COMMITTERS] pgsql: Raise max setting of checkpoint_timeout to 1d

2016-09-11 Thread Simon Riggs
Raise max setting of checkpoint_timeout to 1d Previously checkpoint_timeout was capped at 3600s New max setting is 86400s = 24h = 1d Discussion: [email protected] Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/f2dba881a5e13abc957f0e692749f89c928

[COMMITTERS] pgsql: Raise max setting of checkpoint_timeout to 1d

2016-09-11 Thread Simon Riggs
Raise max setting of checkpoint_timeout to 1d Previously checkpoint_timeout was capped at 3600s New max setting is 86400s = 24h = 1d Discussion: [email protected] Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c3c0d7bd701dae4737c974a59ffa9b366110f9c1