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

Function PQserverVersion

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

Source from the content-addressed store, hash-verified

6973}
6974
6975int
6976PQserverVersion(const PGconn *conn)
6977{
6978 if (!conn)
6979 return 0;
6980 if (conn->status == CONNECTION_BAD)
6981 return 0;
6982 return conn->sversion;
6983}
6984
6985char *
6986PQerrorMessage(const PGconn *conn)

Callers 15

configure_remote_sessionFunction · 0.85
vacuumloFunction · 0.85
libpqrcv_server_versionFunction · 0.85
libpqrcv_startstreamingFunction · 0.85
appendStringLiteralConnFunction · 0.85
processSQLNamePatternFunction · 0.85
GenerateRecoveryConfigFunction · 0.85
WriteRecoveryConfigFunction · 0.85
SyncVariablesFunction · 0.85
connectDatabaseFunction · 0.85
_check_database_versionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected