diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-02 14:07:54 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-02 14:07:54 -0500 |
commit | 1511521a36f99a242f51c3bd0811cfcd53c5e63a (patch) | |
tree | 4f2a7f477798940717f8bb29b1631fae451b56df /src/include/access/brin_internal.h | |
parent | b52cb4690e0752efea440173c4923d76d2126679 (diff) | |
download | postgresql-1511521a36f99a242f51c3bd0811cfcd53c5e63a.tar.gz postgresql-1511521a36f99a242f51c3bd0811cfcd53c5e63a.zip |
Minor cleanup of function declarations for BRIN.
Get rid of PG_FUNCTION_INFO_V1() macros, which are quite inappropriate
for built-in functions (possibly leftovers from testing as a loadable
module?). Also, fix gratuitous inconsistency between SQL-level and
C-level names of the minmax support functions.
Diffstat (limited to 'src/include/access/brin_internal.h')
-rw-r--r-- | src/include/access/brin_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/access/brin_internal.h b/src/include/access/brin_internal.h index 34491ef5f3f..c95978a074f 100644 --- a/src/include/access/brin_internal.h +++ b/src/include/access/brin_internal.h @@ -83,5 +83,12 @@ typedef struct BrinDesc /* brin.c */ extern BrinDesc *brin_build_desc(Relation rel); extern void brin_free_desc(BrinDesc *bdesc); +extern Datum brin_summarize_new_values(PG_FUNCTION_ARGS); + +/* brin_minmax.c */ +extern Datum brin_minmax_opcinfo(PG_FUNCTION_ARGS); +extern Datum brin_minmax_add_value(PG_FUNCTION_ARGS); +extern Datum brin_minmax_consistent(PG_FUNCTION_ARGS); +extern Datum brin_minmax_union(PG_FUNCTION_ARGS); #endif /* BRIN_INTERNAL_H */ |