mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-24 06:53:59 +08:00
Clean up cross-module function definitions
Use the `PGFunction` type on all PostgreSQL function definitions when defining cross-module (TSL) functions.
This commit is contained in:
parent
ec65866890
commit
2e444849fb
@ -118,21 +118,21 @@ typedef struct CrossModuleFunctions
|
|||||||
PGFunction array_compressor_append;
|
PGFunction array_compressor_append;
|
||||||
PGFunction array_compressor_finish;
|
PGFunction array_compressor_finish;
|
||||||
|
|
||||||
Datum (*data_node_add)(PG_FUNCTION_ARGS);
|
PGFunction data_node_add;
|
||||||
Datum (*data_node_delete)(PG_FUNCTION_ARGS);
|
PGFunction data_node_delete;
|
||||||
Datum (*data_node_attach)(PG_FUNCTION_ARGS);
|
PGFunction data_node_attach;
|
||||||
Datum (*data_node_ping)(PG_FUNCTION_ARGS);
|
PGFunction data_node_ping;
|
||||||
Datum (*data_node_detach)(PG_FUNCTION_ARGS);
|
PGFunction data_node_detach;
|
||||||
Datum (*data_node_allow_new_chunks)(PG_FUNCTION_ARGS);
|
PGFunction data_node_allow_new_chunks;
|
||||||
Datum (*data_node_block_new_chunks)(PG_FUNCTION_ARGS);
|
PGFunction data_node_block_new_chunks;
|
||||||
|
|
||||||
Datum (*chunk_set_default_data_node)(PG_FUNCTION_ARGS);
|
PGFunction chunk_set_default_data_node;
|
||||||
Datum (*create_chunk)(PG_FUNCTION_ARGS);
|
PGFunction create_chunk;
|
||||||
Datum (*show_chunk)(PG_FUNCTION_ARGS);
|
PGFunction show_chunk;
|
||||||
List *(*get_and_validate_data_node_list)(ArrayType *nodearr);
|
List *(*get_and_validate_data_node_list)(ArrayType *nodearr);
|
||||||
void (*hypertable_make_distributed)(Hypertable *ht, List *data_node_names);
|
void (*hypertable_make_distributed)(Hypertable *ht, List *data_node_names);
|
||||||
Datum (*timescaledb_fdw_handler)(PG_FUNCTION_ARGS);
|
PGFunction timescaledb_fdw_handler;
|
||||||
Datum (*timescaledb_fdw_validator)(PG_FUNCTION_ARGS);
|
PGFunction timescaledb_fdw_validator;
|
||||||
void (*cache_syscache_invalidate)(Datum arg, int cacheid, uint32 hashvalue);
|
void (*cache_syscache_invalidate)(Datum arg, int cacheid, uint32 hashvalue);
|
||||||
PGFunction remote_txn_id_in;
|
PGFunction remote_txn_id_in;
|
||||||
PGFunction remote_txn_id_out;
|
PGFunction remote_txn_id_out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user