-See the set(l)
-man page for information on the arguments for these environment variables.
+Refer to the
SET SQL command
+for information on the arguments for these environment variables.
+
+
+libpq Control Functions
+
+
+
+PQsetNoticeProcessor
+Control reporting of notice and warning messages generated by libpq.
+void PQsetNoticeProcessor (PGconn * conn,
+ void (*noticeProcessor) (void * arg, const char * message),
+ void * arg)
+
+
+
+
+
+
+By default, libpq prints "notice" messages from the backend on stderr,
+as well as a few error messages that it generates by itself.
+This behavior can be overridden by supplying a callback function that
+does something else with the messages. The callback function is passed
+the text of the error message (which includes a trailing newline), plus
+a void pointer that is the same one passed to PQsetNoticeProcessor.
+(This pointer can be used to access application-specific state if needed.)
+The default notice processor is simply
+static void
+defaultNoticeProcessor(void * arg, const char * message)
+{
+ fprintf(stderr, "%s", message);
+}
+
+
+To use a special notice processor, call PQsetNoticeProcessor just after
+any creation of a new PGconn object.
+
+
+
User Authentication Functions
-
BUGS
+
Caveats
The query buffer is 8192 bytes long, and queries over