|
PostgreSQL Source Code git master
|
#include "common/username.h"#include "fe_utils/connect_utils.h"#include "getopt_long.h"#include "libpq-fe.h"#include "pqexpbuffer.h"

Go to the source code of this file.
Functions | |
| void | splitTableColumnsSpec (const char *spec, int encoding, char **table, const char **columns) |
| void | appendQualifiedRelation (PQExpBuffer buf, const char *spec, PGconn *conn, bool echo) |
| bool | yesno_prompt (const char *question) |
| void appendQualifiedRelation | ( | PQExpBuffer | buf, |
| const char * | spec, | ||
| PGconn * | conn, | ||
| bool | echo | ||
| ) |
Definition at line 68 of file common.c.
References ALWAYS_SECURE_SEARCH_PATH_SQL, appendPQExpBufferStr(), appendStringLiteralConn(), buf, conn, PQExpBufferData::data, executeCommand(), executeQuery(), fmtQualifiedIdEnc(), initPQExpBuffer(), ngettext, pg_free(), pg_log_error, PQclear, PQclientEncoding(), PQfinish(), PQgetvalue, PQntuples, splitTableColumnsSpec(), table, and termPQExpBuffer().
Referenced by cluster_one_database(), gen_reindex_command(), and get_parallel_tabidx_list().
| void splitTableColumnsSpec | ( | const char * | spec, |
| int | encoding, | ||
| char ** | table, | ||
| const char ** | columns | ||
| ) |
Definition at line 33 of file common.c.
References encoding, pnstrdup(), PQmblenBounded(), and table.
Referenced by appendQualifiedRelation(), and retrieve_objects().
| bool yesno_prompt | ( | const char * | question | ) |
Definition at line 136 of file common.c.
References _, free, PG_NOLETTER, PG_YESLETTER, printf, question, simple_prompt(), and snprintf.
Referenced by main().