Closed johnfangAFW closed 1 year ago
refactor K2PgInitPostgresBackend into two calls, i.e.,
void K2PgInitPostgresBackend(const char *program_name)
and
void K2PgInitSession(const char *db_name)
The latter will be called for each thread/session. Removed user name from the api since we don't really use it.
Updated PgGate_InitPgGate() and PgGate_DestroyPgGate() to handle multiple concurrent calls.
refactor K2PgInitPostgresBackend into two calls, i.e.,
void K2PgInitPostgresBackend(const char *program_name)
and
void K2PgInitSession(const char *db_name)
The latter will be called for each thread/session. Removed user name from the api since we don't really use it.
Updated PgGate_InitPgGate() and PgGate_DestroyPgGate() to handle multiple concurrent calls.