diff options
author | Bruce Momjian | 2000-06-09 12:20:15 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-06-09 12:20:15 +0000 |
commit | e6487cc4d79e3be58faffb1f73c8c1ba6aade6b5 (patch) | |
tree | e81df6f6186b2cbb9727260972b61d3b8de7efec /doc/src | |
parent | 06dfff5918423abcdc55e1a3d0298ebbe2014127 (diff) |
Update FAQ.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/FAQ.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/doc/src/FAQ.html b/doc/src/FAQ.html index bc06aed60be..a71b00f90e3 100644 --- a/doc/src/FAQ.html +++ b/doc/src/FAQ.html @@ -719,16 +719,17 @@ more detailed information to be reported. The -d option takes a number that specifies the debug level. Be warned that high debug level values generate large log files.<P> -You can actually run the postgres backend from the command line, and -type your SQL statement directly. This is recommended <B>only</B> for -debugging purposes. Note that a newline terminates the query, not a -semicolon. If you have compiled with debugging symbols, you can use a -debugger to see what is happening. Because the backend was not started -from the postmaster, it is not running in an identical environment and -locking/backend interaction problems may not be duplicated.<P> - -Another method is to start <I>psql</I> in one window, then find the -<small>PID</small> of the <i>postgres</i> process used by +If the <i>postmaster</i> is not running, you can actually run the +postgres backend from the command line, and type your SQL statement +directly. This is recommended <B>only</B> for debugging purposes. Note +that a newline terminates the query, not a semicolon. If you have +compiled with debugging symbols, you can use a debugger to see what is +happening. Because the backend was not started from the postmaster, it +is not running in an identical environment and locking/backend +interaction problems may not be duplicated.<P> + +If the <i>postmaster</i> is running, start <I>psql</I> in one window, +then find the <small>PID</small> of the <i>postgres</i> process used by <i>psql.</i> Use a debugger to attach to the <i>postgres</i> <small>PID.</small> You can set breakpoints in the debugger and issue queries from <i>psql.</i> If you are debugging <i>postgres</i> startup, |