Skip to content

Commit 2e9239b

Browse files
Add description for setNoticeCallback method
Co-authored-by: KentarouTakeda <takeda@youmind.jp>
1 parent 4231a4d commit 2e9239b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/pdo_pgsql/pdo/pgsql/setnoticecallback.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<methodparam><type class="union"><type>callable</type><type>null</type></type><parameter>callback</parameter></methodparam>
1313
</methodsynopsis>
1414
<simpara>
15-
Description.
15+
Set a callback to handle notice and warning messages generated by the backend.
16+
This includes messages emitted by PostgreSQL itself,
17+
as well as those raised by user-defined SQL functions using <literal>RAISE</literal>.
18+
Please note that the actual receipt of these messages
19+
depends on the backend setting <literal>client_min_messages</literal>.
1620
</simpara>
1721
</refsect1>
1822

0 commit comments

Comments
 (0)