new DEV FAQ item - Mailing list pgsql-hackers

From Bruce Momjian
Subject new DEV FAQ item
Date
Msg-id 199808291840.OAA11706@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
New item.

---------------------------------------------------------------------------


  10) What is elog()?

   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.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Keith Parks
Date:
Subject: Core dump in regression tests.
Next
From: Bruce Momjian
Date:
Subject: COPY file descriptor leak