CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 02/04/11 16:00:18
Modified files:
doc/src/sgml : catalogs.sgml
doc/src/sgml/ref: create_aggregate.sgml create_function.sgml
src/backend/catalog: aclchk.c heap.c indexing.c pg_aggregate.c
pg_proc.c
src/backend/commands: comment.c define.c indexcmds.c remove.c
src/backend/executor: nodeAgg.c
src/backend/nodes: copyfuncs.c equalfuncs.c outfuncs.c
readfuncs.c
src/backend/optimizer/util: var.c
src/backend/parser: parse_agg.c parse_coerce.c parse_expr.c
parse_func.c parse_node.c parse_oper.c
parse_target.c
src/backend/rewrite: rewriteHandler.c
src/backend/utils: Gen_fmgrtab.sh
src/backend/utils/adt: ruleutils.c sets.c varchar.c
src/backend/utils/cache: syscache.c
src/bin/pg_dump: pg_dump.c pg_dump.h
src/bin/psql : describe.c tab-complete.c
src/include/catalog: catversion.h indexing.h pg_aggregate.h
pg_attribute.h pg_class.h pg_operator.h
pg_proc.h
src/include/executor: nodeAgg.h
src/include/nodes: primnodes.h
src/include/parser: parse_agg.h parse_coerce.h parse_func.h
parse_target.h
src/include/utils: acl.h builtins.h syscache.h
src/interfaces/python/tutorial: syscat.py
src/test/regress/expected: alter_table.out foreign_key.out
oidjoins.out opr_sanity.out rules.out
src/test/regress/sql: alter_table.sql foreign_key.sql
oidjoins.sql opr_sanity.sql rules.sql
src/tutorial : syscat.source
Log message:
Restructure representation of aggregate functions so that they have pg_proc
entries, per pghackers discussion. This fixes aggregates to live in
namespaces, and also simplifies/speeds up lookup in parse_func.c.
Also, add a 'proimplicit' flag to pg_proc that controls whether a type
coercion function may be invoked implicitly, or only explicitly. The
current settings of these flags are more permissive than I would like,
but we will need to debate and refine the behavior; for now, I avoided
breaking regression tests as much as I could.