From a44de6748b7e3e7dc258e070faa572e716eecd93 Mon Sep 17 00:00:00 2001 From: Georgy Shelkovy Date: Thu, 12 Oct 2023 08:51:54 +0500 Subject: [PATCH] Postgres 17 support --- compat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy