Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0cbb26

Browse files
committed
Update FAQ_DEV.
1 parent2673547 commitc0cbb26

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

‎doc/FAQ_DEV

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated:Sat Feb23 15:09:27 EST 2002
4+
Last updated:Mon Feb25 15:29:28 EST 2002
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -642,12 +642,16 @@ List *i, *list;
642642

643643
elog() is used to send messages to the front-end, and optionally
644644
terminate the current query being processed. The first parameter is an
645-
elog level of NOTICE, DEBUG, ERROR, or FATAL. NOTICE prints on the
646-
user's terminal and the postmaster logs. DEBUG prints only in the
647-
postmaster logs. ERROR prints in both places, and terminates the
648-
current query, never returning from the call. FATAL terminates the
649-
backend process. The remaining parameters of elog are a printf-style
650-
set of parameters to print.
645+
elog level of DEBUG (levels 1-5), LOG, INFO, NOTICE, ERROR, FATAL, or
646+
PANIC. NOTICE prints on the user's terminal and the postmaster logs.
647+
INFO prints only to the user's terminal and LOG prints only to the
648+
server logs. (These can be changed from postgresql.conf.) ERROR prints
649+
in both places, and terminates the current query, never returning from
650+
the call. FATAL terminates the backend process. The remaining
651+
parameters of elog are a printf-style set of parameters to print.
652+
653+
elog(ERROR) frees most memory and open file descriptors so you don't
654+
need to clean these up before the call.
651655

652656
2.7) What is CommandCounterIncrement()?
653657

‎doc/src/FAQ/FAQ_DEV.html

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<H1>Developer's Frequently Asked Questions (FAQ) for
1313
PostgreSQL</H1>
1414

15-
<P>Last updated:Sat Feb23 15:09:27 EST 2002</P>
15+
<P>Last updated:Mon Feb25 15:29:28 EST 2002</P>
1616

1717
<P>Current maintainer: Bruce Momjian (<Ahref=
1818
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
@@ -777,14 +777,19 @@ <H3><A name="2.6">2.6</A>) What is elog()?</H3>
777777

778778
<P><I>elog()</I> is used to send messages to the front-end, and
779779
optionally terminate the current query being processed. The first
780-
parameter is an elog level of<I>NOTICE,</I><I>DEBUG,</I>
781-
<I>ERROR,</I> or<I>FATAL.</I><I>NOTICE</I> prints on the user's
782-
terminal and the postmaster logs.<I>DEBUG</I> prints only in the
783-
postmaster logs.<I>ERROR</I> prints in both places, and terminates
784-
the current query, never returning from the call.<I>FATAL</I>
785-
terminates the backend process. The remaining parameters of
786-
<I>elog</I> are a<I>printf</I>-style set of parameters to
787-
print.</P>
780+
parameter is an elog level of<I>DEBUG</I> (levels 1-5),<I>LOG,</I>
781+
<I>INFO,</I><I>NOTICE,</I><I>ERROR,</I><I>FATAL,</I> or
782+
<I>PANIC.</I><I>NOTICE</I> prints on the user's terminal and the
783+
postmaster logs.<I>INFO</I> prints only to the user's terminal and
784+
<I>LOG</I> prints only to the server logs. (These can be changed
785+
from<I>postgresql.conf.</I>)<I>ERROR</I> prints in both places,
786+
and terminates the current query, never returning from the call.
787+
<I>FATAL</I> terminates the backend process. The remaining
788+
parameters of<I>elog</I> are a<I>printf</I>-style set of
789+
parameters to print.</P>
790+
791+
<P><I>elog(ERROR)</I> frees most memory and open file descriptors so
792+
you don't need to clean these up before the call.</P>
788793

789794
<H3><Aname="2.7">2.7</A>) What is CommandCounterIncrement()?</H3>
790795

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp