new DEV FAQ item

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема new DEV FAQ item
Дата
Msg-id 199808291840.OAA11706@candle.pha.pa.us
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Keith Parks
Дата:
Сообщение: Core dump in regression tests.
Следующее
От: Bruce Momjian
Дата:
Сообщение: COPY file descriptor leak