[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Update comments concerning PGC_S_TEST.

2013-09-03 Thread Tom Lane
Update comments concerning PGC_S_TEST. This GUC context value was once only used by ALTER DATABASE SET and ALTER USER SET. That's not true anymore, though, so rewrite the comments to be a bit more general. Patch in HEAD only, since this is just an internal documentation issue. Branch -- mas

[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Don't fail for bad GUCs in CREATE FUNCTION with check_function_b

2013-09-03 Thread Tom Lane
Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. The previous coding attempted to activate all the GUC settings specified in SET clauses, so that the function validator could operate in the GUC environment expected by the function body. However, this is problematic when

[COMMITTERS] pgsql: Update obsolete comment

2013-09-03 Thread Alvaro Herrera
Update obsolete comment Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8b290f3115db5bbe85176160c7cabe0d927dcc37 Modified Files -- src/include/storage/relfilenode.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers ma

Re: [COMMITTERS] pgsql: Docs: wording improvements in discussion of timestamp arithmetic

2013-09-03 Thread Bruce Momjian
On Tue, Sep 3, 2013 at 08:29:04PM +, Tom Lane wrote: > Docs: wording improvements in discussion of timestamp arithmetic. > > I started out just to fix the broken markup in commit > 1c2085766187031eaeaae7db4785b9e1d4241988, but got distracted by > copy-editing. I see Bruce already fixed the m

[COMMITTERS] pgsql: Allow aggregate functions to be VARIADIC.

2013-09-03 Thread Tom Lane
Allow aggregate functions to be VARIADIC. There's no inherent reason why an aggregate function can't be variadic (even VARIADIC ANY) if its transition function can handle the case. Indeed, this patch to add the feature touches none of the planner or executor, and little of the parser; the main mis

[COMMITTERS] pgsql: Docs: wording improvements in discussion of timestamp arithmetic

2013-09-03 Thread Tom Lane
Docs: wording improvements in discussion of timestamp arithmetic. I started out just to fix the broken markup in commit 1c2085766187031eaeaae7db4785b9e1d4241988, but got distracted by copy-editing. I see Bruce already fixed the markup, but I'll commit the wordsmithing anyway. Branch -- maste

[COMMITTERS] pgsql: Update obsolete comment

2013-09-03 Thread Alvaro Herrera
Update obsolete comment Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/30b5b3b917801ff976f7d0853cc83dd9b601b986 Modified Files -- src/include/storage/relfilenode.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-commit

[COMMITTERS] pgsql: doc: Fix SGML markup for date patch

2013-09-03 Thread Bruce Momjian
doc: Fix SGML markup for date patch Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/b642bc55fa869160ba8d1b63dacf99e43fdadbb1 Modified Files -- doc/src/sgml/func.sgml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers

[COMMITTERS] pgsql: Docs: add paragraph about date/timestamp subtraction

2013-09-03 Thread Bruce Momjian
Docs: add paragraph about date/timestamp subtraction per suggestion from Francisco Olart Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/1c2085766187031eaeaae7db4785b9e1d4241988 Modified Files -- doc/src/sgml/func.sgml | 32 +++

[COMMITTERS] pgsql: docs: Clarify that we also support Solaris versions greater than

2013-09-03 Thread Robert Haas
docs: Clarify that we also support Solaris versions greater than 10. MauMau Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/9d323bda2ede5d4e42fdc6934188dd7a76a04d54 Modified Files -- doc/src/sgml/runtime.sgml |6 +++--- 1 file changed, 3 insertions(+)

[COMMITTERS] pgsql: Fix thinko in worker_spi, count(*) returns a bigint. Thanks Rhod

2013-09-03 Thread Greg Stark
Fix thinko in worker_spi, count(*) returns a bigint. Thanks RhodiumToad Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/9720164d3426b0a223208b9dc5698264cdb9e2a0 Modified Files -- contrib/worker_spi/worker_spi.c |2 +- 1 file changed, 1 insertion

[COMMITTERS] pgsql: docs: Clarify that we also support Solaris versions greater than

2013-09-03 Thread Robert Haas
docs: Clarify that we also support Solaris versions greater than 10. MauMau Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/767de7dcd6a2305ae0c2035a43ae133dd0306501 Modified Files -- doc/src/sgml/runtime.sgml |6 +++--- 1 file changed, 3 insert

[COMMITTERS] pgsql: Fix thinko in worker_spi, count(*) returns a bigint. Thanks Rhod

2013-09-03 Thread Greg Stark
Fix thinko in worker_spi, count(*) returns a bigint. Thanks RhodiumToad Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/cfa1cd711c2648e0beab50448c5a71ef91a3e1cb Modified Files -- contrib/worker_spi/worker_spi.c |2 +- 1 file changed, 1 insertion(+), 1

[COMMITTERS] pgsql: Fix typo in comment.

2013-09-03 Thread Heikki Linnakangas
Fix typo in comment. Also line-wrap an over-wide line in a comment that's ignored by pgindent. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a93bdfc711399716328ce0811d600411b1314306 Modified Files -- src/backend/replication/syncrep.c |7 --- 1 f