aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/oracle_compat.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-26 15:26:28 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-26 15:26:28 +0000
commit8096fe45cee42ce02e602cbea08e969139a77455 (patch)
tree4f641eca280b4364ecb58513e5f2cb59d52a3332 /src/backend/utils/adt/oracle_compat.c
parent3dc37cd8d6f6fd392c6965dfb0c4fd6b9232b8dd (diff)
downloadpostgresql-8096fe45cee42ce02e602cbea08e969139a77455.tar.gz
postgresql-8096fe45cee42ce02e602cbea08e969139a77455.zip
The added aggregates are:
(1) boolean-and and boolean-or aggregates named bool_and and bool_or. they (SHOULD;-) correspond to standard sql every and some/any aggregates. they do not have the right name as there is a problem with the standard and the parser for some/any. Tom also think that the standard name is misleading because NULL are ignored. Also add 'every' aggregate. (2) bitwise integer aggregates named bit_and and bit_or for int2, int4, int8 and bit types. They are not standard, but I find them useful. I needed them once. The patches adds: - 2 new very short strict functions for boolean aggregates in src/backed/utils/adt/bool.c, src/include/utils/builtins.h and src/include/catalog/pg_proc.h - the new aggregates declared in src/include/catalog/pg_proc.h and src/include/catalog/pg_aggregate.h - some documentation and validation about these new aggregates. Fabien COELHO
Diffstat (limited to 'src/backend/utils/adt/oracle_compat.c')
0 files changed, 0 insertions, 0 deletions