From c0cbb261dfe87f9b55e4e7dd8c6da6eca7e1e22c Mon Sep 17 00:00:00 2001
From: Bruce Momjian 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) 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.Developer's Frequently Asked Questions (FAQ) for
PostgreSQL
-
@@ -777,14 +777,19 @@
elog(ERROR) frees most memory and open file descriptors so + you don't need to clean these up before the call.