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)