We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d8664b + 931831b commit aecf548Copy full SHA for aecf548
ext/pgsql/pgsql.c
@@ -4787,7 +4787,9 @@ PHP_FUNCTION(pg_get_notify)
4787
#else
4788
if (atof(PG_VERSION) >= 9.0) {
4789
#endif
4790
+#if HAVE_PQPARAMETERSTATUS
4791
add_index_string(return_value, 2, pgsql_notify->extra, 1);
4792
+#endif
4793
}
4794
4795
if (result_type & PGSQL_ASSOC) {
@@ -4798,7 +4800,9 @@ PHP_FUNCTION(pg_get_notify)
4798
4800
4799
4801
4802
4803
4804
add_assoc_string(return_value, "payload", pgsql_notify->extra, 1);
4805
4806
4807
4808
PQfreemem(pgsql_notify);
0 commit comments