Skip to content

Commit b4c2526

Browse files
committed
Improve notice search
1 parent ae2be52 commit b4c2526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ const sql = postgres('postgres://username:password@host:port/database', {
941941
connect_timeout : 30, // Connect timeout in seconds
942942
prepare : true, // Automatic creation of prepared statements
943943
types : [], // Array of custom types, see more below
944-
onnotice : fn, // Defaults to console.log
944+
onnotice : fn, // Default console.log, set false to silence NOTICE
945945
onparameter : fn, // (key, value) when server param change
946946
debug : fn, // Is called with (connection, query, params, types)
947947
socket : fn, // fn returning custom socket to use

0 commit comments

Comments
 (0)