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

Commit790c666

Browse files
committed
Update FAQ text file.
1 parent60d6f49 commit790c666

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

‎doc/FAQ

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

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Sat Jan 29 23:25:05 EST 2005
4+
Last updated: Sat Jan 29 23:44:48 EST 2005
55

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

@@ -481,22 +481,17 @@
481481
may not be duplicated.
482482

483483
If postmaster is running, start psql in one window, then find the PID
484-
of the postgres process used by psql using
485-
SELECT pg_backend_pid()
486-
487-
. Use a debugger to attach to the postgres PID. You can set
488-
breakpoints in the debugger and issue queries from psql. If you are
489-
debugging postgres startup, you can set PGOPTIONS="-W n", then start
490-
psql. This will cause startup to delay for n seconds so you can attach
491-
to the process with the debugger, set any breakpoints, and continue
492-
through the startup sequence.
493-
494-
There are several
495-
log_*
496-
497-
server configuration variables that enable printing of process
498-
statistics which can be very useful for debugging and performance
499-
measurements.
484+
of the postgres process used by psql using SELECT pg_backend_pid().
485+
Use a debugger to attach to the postgres PID. You can set breakpoints
486+
in the debugger and issue queries from psql. If you are debugging
487+
postgres startup, you can set PGOPTIONS="-W n", then start psql. This
488+
will cause startup to delay for n seconds so you can attach to the
489+
process with the debugger, set any breakpoints, and continue through
490+
the startup sequence.
491+
492+
There are several log_* server configuration variables that enable
493+
printing of process statistics which can be very useful for debugging
494+
and performance measurements.
500495

501496
You can also compile with profiling to see what functions are taking
502497
execution time. The backend profile files will be deposited in the
@@ -725,11 +720,8 @@ log_*
725720
section 4.10.
726721
* The default C locale must be used during initdb because it is not
727722
possible to know the next-greater character in a non-C locale. You
728-
can create a special
729-
text_pattern_ops
730-
index for such cases that work only for
731-
LIKE
732-
indexing.
723+
can create a special text_pattern_ops index for such cases that
724+
work only for LIKE indexing.
733725

734726
In pre-8.0 releases, indexes often can not be used unless the data
735727
types exactly match the index's column types. This is particularly
@@ -919,7 +911,7 @@ BYTEA bytea variable-length byte array (null-byte safe)
919911
4.17) How do I create a column that will default to the current time?
920912

921913
Use CURRENT_TIMESTAMP:
922-
CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP );
914+
CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP );
923915

924916
4.18) How do I perform an outer join?
925917

‎doc/src/FAQ/FAQ.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
alink="#0000ff">
1111
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
1212

13-
<P>Last updated: Sat Jan 29 23:25:05 EST 2005</P>
13+
<P>Last updated: Sat Jan 29 23:44:48 EST 2005</P>
1414

1515
<P>Current maintainer: Bruce Momjian (<Ahref=
1616
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp