|
pg_last_noticeReturns the last notice message from PostgreSQL server Description
arraystringbool pg_last_notice(PgSql\Connection
$connection , int $mode = PGSQL_NOTICE_LAST )
pg_last_notice returns the last notice
message from the PostgreSQL server on the specified
With pg_last_notice, you can avoid issuing useless queries by checking whether or not the notice is related to your transaction.
Notice message tracking can be set to optional by setting 1 for
Notice message logging can be set to optional by setting 0 for
Parameters
Return Values
A string containing the last notice on the
given Changelog
Examples
Example #1 pg_last_notice example
The above example will output: CREATE TABLE will create implicit sequence "test_id_seq" for "serial" column "test.id" See Also
|