[COMMITTERS] pgsql: doc: Fix XSLT speedup with older upstream stylesheet versions

2016-08-24 Thread Peter Eisentraut
doc: Fix XSLT speedup with older upstream stylesheet versions From: Alexander Law Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0e4cc1fc51c77b3af22d8ff7163565c5ba96f310 Modified Files -- doc/src/sgml/stylesheet-speedup-xhtml.xsl | 6 -- 1 file chan

[COMMITTERS] pgsql: Remove unnecessary #include.

2016-08-24 Thread Kevin Grittner
Remove unnecessary #include. Accidentally added in 8b65cf4c5edabdcae45ceaef7b9ac236879aae50. Pointed out by Álvaro Herrera Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/eaae83c123f5e8e103abbbe822fe73b791d9d5c9 Modified Files -- src/include/stor

[COMMITTERS] pgsql: Remove unnecessary #include.

2016-08-24 Thread Kevin Grittner
Remove unnecessary #include. Accidentally added in 8b65cf4c5edabdcae45ceaef7b9ac236879aae50. Pointed out by Álvaro Herrera Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/5cd3864075622b203d530f1a710818777859304e Modified Files -- src/include/storage/buf

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: Fix improper repetition of previous results from a hashed aggreg

2016-08-24 Thread Tom Lane
Fix improper repetition of previous results from a hashed aggregate. ExecReScanAgg's check for whether it could re-use a previously calculated hashtable neglected the possibility that the Agg node might reference PARAM_EXEC Params that are not referenced by its input plan node. That's okay if the

[COMMITTERS] pgsql: postgres_fdw: Cosmetic cleanup.

2016-08-24 Thread Robert Haas
postgres_fdw: Cosmetic cleanup. Etsuro Fujita Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/dcb7a54bd1cdbf5cca9549e8485cd34a28c7cf87 Modified Files -- contrib/postgres_fdw/deparse.c | 4 ++-- contrib/postgres_fdw/postgres_fdw.c | 6 -- 2 files c

Re: [COMMITTERS] pgsql: Mark read/write expanded values as read-only in ValuesNext(), to

2016-08-24 Thread Andres Freund
On 2016-06-03 22:07:21 +, Tom Lane wrote: > Also add a regression test case exercising the same scenario for > FunctionScan. That's not broken right now, because the function's > result will get shoved into a tuplestore between generation and use; > but it could easily become broken whenever w

[COMMITTERS] pgsql: doc: more replacement of with something better

2016-08-24 Thread Bruce Momjian
doc: more replacement of with something better Reported-by: Alexander Law Author: Alexander Law Backpatch-through: 9.6 Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/1414d490f7eee23bf3544953a47340e9b54fcf29 Modified Files -- doc/src/sgml/conf

[COMMITTERS] pgsql: doc: more replacement of with something better

2016-08-24 Thread Bruce Momjian
doc: more replacement of with something better Reported-by: Alexander Law Author: Alexander Law Backpatch-through: 9.6 Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ca9cb940d23dc8869a635fa27a08e60837b17c07 Modified Files -- doc/src/sgml/config.sgml

[COMMITTERS] pgsql: Fix small query-lifespan memory leak in bulk updates.

2016-08-24 Thread Tom Lane
Fix small query-lifespan memory leak in bulk updates. When there is an identifiable REPLICA IDENTITY index on the target table, heap_update leaks the id_attrs bitmapset. That's not many bytes, but it adds up over enough rows, since the code typically runs in a query-lifespan context. Bug introdu

[COMMITTERS] pgsql: Fix small query-lifespan memory leak in bulk updates.

2016-08-24 Thread Tom Lane
Fix small query-lifespan memory leak in bulk updates. When there is an identifiable REPLICA IDENTITY index on the target table, heap_update leaks the id_attrs bitmapset. That's not many bytes, but it adds up over enough rows, since the code typically runs in a query-lifespan context. Bug introdu

[COMMITTERS] pgsql: Fix small query-lifespan memory leak in bulk updates.

2016-08-24 Thread Tom Lane
Fix small query-lifespan memory leak in bulk updates. When there is an identifiable REPLICA IDENTITY index on the target table, heap_update leaks the id_attrs bitmapset. That's not many bytes, but it adds up over enough rows, since the code typically runs in a query-lifespan context. Bug introdu

[COMMITTERS] pgsql: Fix small query-lifespan memory leak in bulk updates.

2016-08-24 Thread Tom Lane
Fix small query-lifespan memory leak in bulk updates. When there is an identifiable REPLICA IDENTITY index on the target table, heap_update leaks the id_attrs bitmapset. That's not many bytes, but it adds up over enough rows, since the code typically runs in a query-lifespan context. Bug introdu