Consistently use "superuser" instead of "super user"
[pgsql.git] / src / bin / scripts / common.h
blobddd8f352749e71a84dc68ee5fd2367d3cfbb4c42
1 /*
2 * common.h
3 * Common support routines for bin/scripts/
5 * Copyright (c) 2003-2021, PostgreSQL Global Development Group
7 * src/bin/scripts/common.h
8 */
9 #ifndef COMMON_H
10 #define COMMON_H
12 #include "common/username.h"
13 #include "fe_utils/connect_utils.h"
14 #include "getopt_long.h" /* pgrminclude ignore */
15 #include "libpq-fe.h"
16 #include "pqexpbuffer.h" /* pgrminclude ignore */
18 extern void splitTableColumnsSpec(const char *spec, int encoding,
19 char **table, const char **columns);
21 extern void appendQualifiedRelation(PQExpBuffer buf, const char *name,
22 PGconn *conn, bool echo);
24 extern bool yesno_prompt(const char *question);
26 #endif /* COMMON_H */