Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://old.master.cmc.msu.ru/php/function.pg-last-notice.html
Дата изменения: Sun Feb 3 22:53:07 2002 Дата индексирования: Tue Oct 2 08:50:02 2012 Кодировка: |
pg_last_notice() returns the last notice message from PostgreSQL server specified by connection. PostgreSQL server set notice message when transaction cannot be continued. There one can avoid issuing useless SQL using pg_exec() using pg_last_notice(). There are other cases that PostgreSQL server sets notice message. Programmer must check contents of notice message if it is related to transaction or not.
Warning |
This function is EXPERIMENTAL and it is not fully implemented yet. pg_last_notice() is added form PHP 4.0.6. However, PHP 4.0.6 has problem with notice message handling. Use of PostgreSQL module with PHP 4.0.6 is not recommended even if you are not using pg_last_notice(). |
See also pg_exec() and pg_errormessage().