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_REORDER_H 8 #define TIMESCALEDB_TSL_REORDER_H 9 10 #include <postgres.h> 11 12 extern Datum tsl_reorder_chunk(PG_FUNCTION_ARGS); 13 extern Datum tsl_move_chunk(PG_FUNCTION_ARGS); 14 extern Datum tsl_move_chunk_proc(PG_FUNCTION_ARGS); 15 extern Datum tsl_copy_chunk_proc(PG_FUNCTION_ARGS); 16 extern Datum tsl_copy_chunk_cleanup_proc(PG_FUNCTION_ARGS); 17 extern void reorder_chunk(Oid chunk_id, Oid index_id, bool verbose, Oid wait_id, 18 Oid destination_tablespace, Oid index_tablespace); 19 20 #endif /* TIMESCALEDB_TSL_REORDER_H */ 21