From c0cbb261dfe87f9b55e4e7dd8c6da6eca7e1e22c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 25 Feb 2002 20:29:39 +0000 Subject: [PATCH] Update FAQ_DEV. --- doc/FAQ_DEV | 18 +++++++++++------- doc/src/FAQ/FAQ_DEV.html | 23 ++++++++++++++--------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/doc/FAQ_DEV b/doc/FAQ_DEV index 3baa2f492e..e640766aa5 100644 --- a/doc/FAQ_DEV +++ b/doc/FAQ_DEV @@ -1,7 +1,7 @@ Developer's Frequently Asked Questions (FAQ) for PostgreSQL - Last updated: Sat Feb 23 15:09:27 EST 2002 + Last updated: Mon Feb 25 15:29:28 EST 2002 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) @@ -642,12 +642,16 @@ List *i, *list; elog() is used to send messages to the front-end, and optionally terminate the current query being processed. The first parameter is an - elog level of NOTICE, DEBUG, ERROR, or FATAL. NOTICE prints on the - user's terminal and the postmaster logs. DEBUG prints only in the - postmaster logs. ERROR prints in both places, and terminates the - current query, never returning from the call. FATAL terminates the - backend process. The remaining parameters of elog are a printf-style - set of parameters to print. + elog level of DEBUG (levels 1-5), LOG, INFO, NOTICE, ERROR, FATAL, or + PANIC. NOTICE prints on the user's terminal and the postmaster logs. + INFO prints only to the user's terminal and LOG prints only to the + server logs. (These can be changed from postgresql.conf.) ERROR prints + in both places, and terminates the current query, never returning from + the call. FATAL terminates the backend process. The remaining + parameters of elog are a printf-style set of parameters to print. + + elog(ERROR) frees most memory and open file descriptors so you don't + need to clean these up before the call. 2.7) What is CommandCounterIncrement()? diff --git a/doc/src/FAQ/FAQ_DEV.html b/doc/src/FAQ/FAQ_DEV.html index 3af3b7d200..9e557284b3 100644 --- a/doc/src/FAQ/FAQ_DEV.html +++ b/doc/src/FAQ/FAQ_DEV.html @@ -12,7 +12,7 @@

Developer's Frequently Asked Questions (FAQ) for PostgreSQL

-

Last updated: Sat Feb 23 15:09:27 EST 2002

+

Last updated: Mon Feb 25 15:29:28 EST 2002

Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@@ -777,14 +777,19 @@

elog() is used to send messages to the front-end, and optionally terminate the current query being processed. The first - parameter is an elog level of NOTICE, DEBUG, - ERROR, or FATAL. NOTICE prints on the user's - terminal and the postmaster logs. DEBUG prints only in the - postmaster logs. ERROR prints in both places, and terminates - the current query, never returning from the call. FATAL - terminates the backend process. The remaining parameters of - elog are a printf-style set of parameters to - print.

+ parameter is an elog level of DEBUG (levels 1-5), LOG, + INFO, NOTICE, ERROR, FATAL, or + PANIC. NOTICE prints on the user's terminal and the + postmaster logs. INFO prints only to the user's terminal and + LOG prints only to the server logs. (These can be changed + from postgresql.conf.) ERROR prints in both places, + and terminates the current query, never returning from the call. + FATAL terminates the backend process. The remaining + parameters of elog are a printf-style set of + parameters to print.

+ +

elog(ERROR) frees most memory and open file descriptors so + you don't need to clean these up before the call.

2.7) What is CommandCounterIncrement()?

-- 2.40.0