pg_get_notify
Ottiene il messaggio SQL NOTIFY
&reftitle.description;
arrayfalsepg_get_notify
PgSql\Connectionconnection
intmodePGSQL_ASSOC
pg_get_notify riceve notifiche generate da un
comando SQL NOTIFY. Per ricevere le notifiche,
è necessario eseguire il comando SQL
LISTEN.
&reftitle.parameters;
connection
&pgsql.parameter.connection;
mode
&pgsql.parameter.mode;
&reftitle.returnvalues;
Un array contenente il nome del messaggio NOTIFY e il PID di backend.
Se supportato dal server, l'array contiene anche la versione del server e il payload.
Altrimenti se non è in attesa alcuna NOTIFY, allora viene restituito &false;.
&reftitle.changelog;
&Version;
&Description;
&pgsql.changelog.connection-object;
&reftitle.examples;
Messaggio NOTIFY di PostgreSQL
]]>
&reftitle.seealso;
pg_get_pid