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.
1 parent fb12476 commit 8449e0cCopy full SHA for 8449e0c
ext/pgsql/pgsql.c
@@ -4807,7 +4807,9 @@ PHP_FUNCTION(pg_get_notify)
4807
#else
4808
if (atof(PG_VERSION) >= 9.0) {
4809
#endif
4810
+#if HAVE_PQPARAMETERSTATUS
4811
add_index_string(return_value, 2, pgsql_notify->extra, 1);
4812
+#endif
4813
}
4814
4815
if (result_type & PGSQL_ASSOC) {
@@ -4818,7 +4820,9 @@ PHP_FUNCTION(pg_get_notify)
4818
4820
4819
4821
4822
4823
4824
add_assoc_string(return_value, "payload", pgsql_notify->extra, 1);
4825
4826
4827
4828
PQfreemem(pgsql_notify);
0 commit comments