This ensures that the --echo output of various tools (under scripts) is
valid multiline SQL.
Author: Tatsuro Yamada <yamada.tatsuro@lab.ntt.co.jp>
appendStringLiteralConn(&sql, table, conn);
appendPQExpBufferStr(&sql, "::pg_catalog.regclass;");
- executeCommand(conn, "RESET search_path", progname, echo);
+ executeCommand(conn, "RESET search_path;", progname, echo);
/*
* One row is a typical result, as is a nonexistent relation ERROR.
* might work with the old server, skip this.
*/
#define ALWAYS_SECURE_SEARCH_PATH_SQL \
- "SELECT pg_catalog.set_config('search_path', '', false)"
+ "SELECT pg_catalog.set_config('search_path', '', false);"
#endif /* CONNECT_H */