pg_last_notice --
Returns the last notice message from PostgreSQL server
Syntax
string pg_last_notice ( resource connection )
pg_last_notice() returns the last notice
message from the PostgreSQL server specified by
connection. The PostgreSQL server sends notice
messages in several cases, e.g. if the transactions can't be continued.
With pg_last_notice(), you can avoid issuing useless
queries, by checking whether the notice is related to the transaction
or not.
Warning
This function is EXPERIMENTAL and it is not fully implemented
yet. pg_last_notice() was added in PHP
4.0.6. However, PHP 4.0.6 has problem with notice message
handling. Use of the PostgreSQL module with PHP 4.0.6 is not
recommended even if you are not using
pg_last_notice().
This function is fully implemented in PHP 4.3.0. PHP earlier than
PHP 4.3.0 ignores database connection parameter.
Notice message tracking can be set to optional by setting 1 for
pgsql.ignore_notice in php.ini from PHP 4.3.0.
Notice message logging can be set to optional by setting 0 for
pgsql.log_notice in php.ini from PHP 4.3.0.
Unless pgsql.ignore_notice is set
to 0, notice message cannot be logged.
pg last notice php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php pg last notice syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.