1 /* 2 * This file and its contents are licensed under the Timescale License. 3 * Please see the included NOTICE for copyright information and 4 * LICENSE-TIMESCALE for a copy of the license. 5 */ 6 7 #ifndef TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H 8 #define TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H 9 10 #include <postgres.h> 11 #include <fmgr.h> 12 13 #include "compat/compat.h" 14 15 #define PARTIALIZE_FUNC_NAME "partialize_agg" 16 17 extern Datum tsl_finalize_agg_sfunc(PG_FUNCTION_ARGS); 18 extern Datum tsl_finalize_agg_ffunc(PG_FUNCTION_ARGS); 19 extern Datum tsl_partialize_agg(PG_FUNCTION_ARGS); 20 21 #endif 22