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

Commit0849955

Browse files
committed
Add mention of errfinish.
1 parent3332e38 commit0849955

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

‎doc/FAQ_DEV

Lines changed: 8 additions & 6 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:Mon Sep 19 21:28:08 EDT 2005
4+
Last updated:Thu Oct 27 09:48:14 EDT 2005
55

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

@@ -798,11 +798,13 @@ typedef struct nameData
798798
If the postmaster is running, start psql in one window, then find the
799799
PID of the postgres process used by psql using SELECT
800800
pg_backend_pid(). Use a debugger to attach to the postgres PID. You
801-
can set breakpoints in the debugger and issue queries from psql. If
802-
you are debugging postgres startup, you can set PGOPTIONS="-W n", then
803-
start psql. This will cause startup to delay for n seconds so you can
804-
attach to the process with the debugger, set any breakpoints, and
805-
continue through the startup sequence.
801+
can set breakpoints in the debugger and issue queries from the other.
802+
If you are looking to find the location that is generating an error or
803+
log message, set a breakpoint at errfinish. psql. If you are debugging
804+
postgres startup, you can set PGOPTIONS="-W n", then start psql. This
805+
will cause startup to delay for n seconds so you can attach to the
806+
process with the debugger, set any breakpoints, and continue through
807+
the startup sequence.
806808

807809
You can also compile with profiling to see what functions are taking
808810
execution time. The backend profile files will be deposited in the

‎doc/src/FAQ/FAQ_DEV.html

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

16-
<P>Last updated:Mon Sep 19 21:28:08 EDT 2005</P>
16+
<P>Last updated:Thu Oct 27 09:48:14 EDT 2005</P>
1717

1818
<P>Current maintainer: Bruce Momjian (<Ahref=
1919
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
@@ -982,7 +982,9 @@ <H3><A name="2.8">2.8</A>) What debugging features are
982982
window, then find the<SMALL>PID</SMALL> of the<I>postgres</I>
983983
process used by<I>psql</I> using<CODE>SELECT pg_backend_pid()</CODE>.
984984
Use a debugger to attach to the<I>postgres</I><SMALL>PID</SMALL>.
985-
You can set breakpoints in the debugger and issue queries from
985+
You can set breakpoints in the debugger and issue queries from the
986+
other. If you are looking to find the location that is generating
987+
an error or log message, set a breakpoint at<I>errfinish</>.
986988

987989
<I>psql</I>. If you are debugging<I>postgres</I> startup, you can
988990
set PGOPTIONS="-W n", then start<I>psql</I>. This will cause startup

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp