aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-04-13 00:01:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-04-13 00:01:46 -0400
commitd95425c8b9d3ea1681bd91b76ce73be95ca5ee21 (patch)
tree18accad72b0619a3b46a23f8bf645b90f50b89b9 /src/include/utils/builtins.h
parent842faa714c0454d67e523f5a0b6df6500e9bc1a5 (diff)
downloadpostgresql-d95425c8b9d3ea1681bd91b76ce73be95ca5ee21.tar.gz
postgresql-d95425c8b9d3ea1681bd91b76ce73be95ca5ee21.zip
Provide moving-aggregate support for boolean aggregates.
David Rowley and Florian Pflug, reviewed by Dean Rasheed
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r--src/include/utils/builtins.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index f7cc1af2caf..11ff4fdef0c 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -121,6 +121,10 @@ extern Datum boolle(PG_FUNCTION_ARGS);
extern Datum boolge(PG_FUNCTION_ARGS);
extern Datum booland_statefunc(PG_FUNCTION_ARGS);
extern Datum boolor_statefunc(PG_FUNCTION_ARGS);
+extern Datum bool_accum(PG_FUNCTION_ARGS);
+extern Datum bool_accum_inv(PG_FUNCTION_ARGS);
+extern Datum bool_alltrue(PG_FUNCTION_ARGS);
+extern Datum bool_anytrue(PG_FUNCTION_ARGS);
extern bool parse_bool(const char *value, bool *result);
extern bool parse_bool_with_len(const char *value, size_t len, bool *result);