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 #ifndef TIMESCALEDB_TSL_CHUNK_H
7 #define TIMESCALEDB_TSL_CHUNK_H
8 
9 #include <postgres.h>
10 #include <fmgr.h>
11 #include <chunk.h>
12 
13 extern void chunk_update_foreign_server_if_needed(int32 chunk_id, Oid existing_server_id);
14 extern Datum chunk_set_default_data_node(PG_FUNCTION_ARGS);
15 extern Datum chunk_drop_replica(PG_FUNCTION_ARGS);
16 extern int chunk_invoke_drop_chunks(Oid relid, Datum older_than, Datum older_than_type);
17 extern Datum chunk_create_replica_table(PG_FUNCTION_ARGS);
18 
19 #endif /* TIMESCALEDB_TSL_CHUNK_H */
20