diff --git a/compat.h b/compat.h index 32874f7..5fcc814 100644 --- a/compat.h +++ b/compat.h @@ -55,7 +55,10 @@ InitPostgresCompat(const char *in_dbname, Oid dboid, bool override_allow_connections, char *out_dbname) { -#if PG_VERSION_NUM >= 150000 +#if PG_VERSION_NUM >= 170000 + InitPostgres(in_dbname, dboid, username, useroid, (load_session_libraries ? INIT_PG_LOAD_SESSION_LIBS : 0) | + (override_allow_connections ? INIT_PG_OVERRIDE_ALLOW_CONNS : 0), out_dbname); +#elif PG_VERSION_NUM >= 150000 InitPostgres(in_dbname, dboid, username, useroid, load_session_libraries, override_allow_connections, out_dbname); #elif PG_VERSION_NUM >= 110000
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: