MCPcopy Create free account
hub / github.com/apache/cloudberry / PQdb

Function PQdb

src/interfaces/libpq/fe-connect.c:6831–6837  ·  view source on GitHub ↗

=========== accessor functions for PGconn ========= */

Source from the content-addressed store, hash-verified

6829
6830/* =========== accessor functions for PGconn ========= */
6831char *
6832PQdb(const PGconn *conn)
6833{
6834 if (!conn)
6835 return NULL;
6836 return conn->dbName;
6837}
6838
6839char *
6840PQuser(const PGconn *conn)

Callers 15

find_matching_idle_slotFunction · 0.85
slashUsageFunction · 0.85
validateSQLNamePatternFunction · 0.85
exec_command_conninfoFunction · 0.85
do_connectFunction · 0.85
SyncVariablesFunction · 0.85
get_promptFunction · 0.85
prohibit_crossdb_refsFunction · 0.85
WriteHeadFunction · 0.85
mainFunction · 0.85
run_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected