1 /*------------------------------------------------------------------------- 2 * 3 * worker_create_or_replace.h 4 * Header for handling CREATE OR REPLACE of objects, 5 * even if postgres lacks CREATE OR REPLACE for those objects 6 * 7 * Copyright (c) Citus Data, Inc. 8 * 9 * $Id$ 10 * 11 *------------------------------------------------------------------------- 12 */ 13 14 #ifndef WORKER_CREATE_OR_REPLACE_H 15 #define WORKER_CREATE_OR_REPLACE_H 16 17 #define CREATE_OR_REPLACE_COMMAND "SELECT worker_create_or_replace_object(%s);" 18 19 extern char * WrapCreateOrReplace(const char *sql); 20 21 #endif /* WORKER_CREATE_OR_REPLACE_H */ 22