mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user