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

Function PQclientEncoding

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

Source from the content-addressed store, hash-verified

7060}
7061
7062int
7063PQclientEncoding(const PGconn *conn)
7064{
7065 if (!conn || conn->status != CONNECTION_OK)
7066 return -1;
7067 return conn->client_encoding;
7068}
7069
7070int
7071PQsetClientEncoding(PGconn *conn, const char *encoding)

Callers 15

dblink_get_connFunction · 0.85
dblink_connectFunction · 0.85
appendStringLiteralConnFunction · 0.85
processSQLNamePatternFunction · 0.85
escape_append_literalFunction · 0.85
escape_fmt_idFunction · 0.85
test_psql_parseFunction · 0.85
test_one_vector_escapeFunction · 0.85
SendQueryFunction · 0.85
exec_command_encodingFunction · 0.85
SyncVariablesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 4

escape_append_literalFunction · 0.68
escape_fmt_idFunction · 0.68
test_psql_parseFunction · 0.68
test_one_vector_escapeFunction · 0.68