Skip to content

Commit 860c578

Browse files
committed
fixes for PG 9.5 in pathman_post_parse_analysis_hook()
1 parent d3e490a commit 860c578

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hooks.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,11 @@ pathman_post_parse_analysis_hook(ParseState *pstate, Query *query)
539539
{
540540
char *spl_value; /* value of "shared_preload_libraries" GUC */
541541

542+
#if PG_VERSION_NUM >= 90600
542543
spl_value = GetConfigOptionByName("shared_preload_libraries", NULL, false);
544+
#else
545+
spl_value = GetConfigOptionByName("shared_preload_libraries", NULL);
546+
#endif
543547

544548
ereport(ERROR,
545549
(errmsg("extension conflict has been detected"),

0 commit comments

Comments
 (0)
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