10
10
alink ="#0000ff ">
11
11
< H1 > Frequently Asked Questions (FAQ) for PostgreSQL</ H1 >
12
12
13
- < P > Last updated: Wed Dec 15 20:06:34 EST 2004</ P >
13
+ < P > Last updated: Fri Dec 24 12:18:49 EST 2004</ P >
14
14
15
15
< P > Current maintainer: Bruce Momjian (< A href =
16
16
"mailto:pgman@candle.pha.pa.us "> pgman@candle.pha.pa.us</ A > )< BR >
17
17
</ P >
18
18
19
19
< P > The most recent version of this document can be viewed at < A href =
20
- "http://www.PostgreSQL.org/docs/faqs/FAQ.html "> http://www.PostgreSQL.org/docs/faqs/FAQ.html</ A > .</ P >
20
+ "http://www.postgresql.org/files/documentation/faqs/FAQ.html ">
21
+ http://www.postgresql.org/files/documentation/faqs/FAQ.html</ A > .</ P >
21
22
22
23
< P > Platform-specific questions are answered at < A href =
23
- "http://www.PostgreSQL.org/docs/index.html "> http://www.PostgreSQL.org/docs/index.html</ A > .</ P >
24
+ "http://www.postgresql.org/docs/faq/ ">
25
+ http://www.postgresql.org/docs/faq/</ A > .</ P >
24
26
< HR >
25
27
26
28
< H2 align ="center "> General Questions</ H2 >
@@ -177,7 +179,8 @@ <H4><A name="1.1">1.1</A>) What is PostgreSQL? How is it pronounced?</H4>
177
179
responsible for all development of PostgreSQL. It is a community
178
180
project and is not controlled by any company. To get involved, see
179
181
the developer's FAQ at < A href =
180
- "http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html "> http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html</ A >
182
+ "http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html ">
183
+ http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html</ A >
181
184
</ P >
182
185
183
186
< P > The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen.
@@ -339,8 +342,9 @@ <H4><A name="1.8">1.8</A>) What documentation is available?</H4>
339
342
href =
340
343
"http://techdocs.PostgreSQL.org/ "> http://techdocs.PostgreSQL.org/</ A > .</ P >
341
344
342
- < P > < I > psql</ I > has some nice \d commands to show information about
343
- types, operators, functions, aggregates, etc.</ P >
345
+ < P > The command line client program < I > psql</ I > has some \d commands to show
346
+ information about types, operators, functions, aggregates, etc. - use \? to
347
+ display the available commands.</ P >
344
348
345
349
< P > Our web site contains even more documentation.</ P >
346
350
@@ -398,8 +402,8 @@ <H4><A name="1.12">1.12</A>) How do I join the development
398
402
< H4 > < A name ="1.13 "> 1.13</ A > ) How do I submit a bug report?</ H4 >
399
403
400
404
< P > Visit the PostgreSQL bug form at < A href =
401
- "http://www.postgresql.org/bugform.html ">
402
- http://www.postgresql.org/bugform.html </ A > .</ P >
405
+ "http://www.postgresql.org/support/submitbug ">
406
+ http://www.postgresql.org/support/submitbug </ A > .</ P >
403
407
404
408
< P > Also check out our ftp site < A href =
405
409
"ftp://ftp.PostgreSQL.org/pub "> ftp://ftp.PostgreSQL.org/pub</ A > to
@@ -425,21 +429,15 @@ <H4><A name="1.14">1.14</A>) How does PostgreSQL compare to other
425
429
426
430
< DT > < B > Performance</ B > </ DT >
427
431
428
- < DD > PostgreSQL has performance similar to other commercial and
429
- open source databases. it is faster for some things, slower for
432
+ < DD > PostgreSQL's performance is comparable to other commercial and
433
+ open source databases. It is faster for some things, slower for
430
434
others. In comparison to MySQL or leaner database systems, we are
431
435
faster for multiple users, complex queries, and a read/write query
432
436
load. MySQL is faster for simple SELECT queries done by a few users.
433
437
Of course, MySQL does not have most of the features mentioned in the
434
438
< I > Features</ I > section above. We are built for reliability and
435
439
features, and we continue to improve performance in every
436
- release. There is an interesting Web page comparing PostgreSQL to
437
- MySQL at < A href ="http://openacs.org/philosophy/why-not-mysql.html ">
438
- http://openacs.org/philosophy/why-not-mysql.html</ A > Also, MySQL is
439
- is a company that distributes its products via open source, and requires
440
- a commercial license for close-source software, not an
441
- open source development community like PostgreSQL.< BR >
442
-
440
+ release. < BR >
443
441
< BR >
444
442
</ DD >
445
443
@@ -498,12 +496,12 @@ <H4><A name="1.15">1.15</A>) How can I financially assist
498
496
"contributions" item is solely to support the PostgreSQL project
499
497
and does not fund any specific company. If you prefer, you can also
500
498
send a check to the contact address.</ P >
501
- < HR >
502
499
503
- < P > Also, if you have a success story about PostgreSQL, please submit
504
- it to our advocacy site at < a href ="http:// advocacy. postgresql.org ">
505
- http:// advocacy. postgresql.org</ a > .</ P >
500
+ < P > Also, if you have a success story about PostgreSQL, please email
501
+ it to our advocacy list at < a href ="mailto:pgsql- advocacy@ postgresql.org ">
502
+ pgsql- advocacy@ postgresql.org</ a > .</ P >
506
503
504
+ < HR >
507
505
508
506
< H2 align ="center "> User Client Questions</ H2 >
509
507
@@ -544,7 +542,7 @@ <H4><A name="2.3">2.3</A>) Does PostgreSQL have a graphical user
544
542
545
543
< P > Yes, there are several graphical interfaces to PostgreSQL available.
546
544
These include PgAccess < a href ="http://www.pgaccess.org ">
547
- http://www.pgaccess.org</ a > ), PgAdmin III (< a
545
+ http://www.pgaccess.org</ a > ), pgAdmin III (< a
548
546
href ="http://www.pgadmin.org "> http://www.pgadmin.org</ a > , RHDB Admin (< a
549
547
href ="http://sources.redhat.com/rhdb/ "> http://sources.redhat.com/rhdb/
550
548
</ a > ), TORA (< a href ="http://www.globecom.net/tora/ "> http://www.globecom.net/tora/
@@ -674,9 +672,9 @@ <H4><A name="3.6">3.6</A>) How do I tune the database engine for
674
672
kernel's limit on shared memory space. Each buffer is 8K and the
675
673
default is 1000 buffers.</ P >
676
674
677
- < P > You can also use the < I > sort_mem</ I > and < I > work_mem</ I > options
678
- to increase the maximum amount of memory used by the backend processes
679
- for each temporary sort. The default is 1024 (i.e. 1MB).</ P >
675
+ < P > You can also use the < I > sort_mem</ I > (from PostgreSQL 8.0: < I > work_mem</ I > )
676
+ options to increase the maximum amount of memory used by the backend
677
+ processes for each temporary sort. The default is 1024 (i.e. 1MB).</ P >
680
678
681
679
< P > You can also use the < SMALL > CLUSTER</ SMALL > command to group
682
680
data in tables to match an index. See the < SMALL > CLUSTER</ SMALL >
@@ -1170,14 +1168,14 @@ <H4><A name="4.15.2">4.15.2</A>) How do I get the value of a
1170
1168
execute("INSERT INTO person (name) VALUES ('Blaise Pascal')");
1171
1169
new_id = execute("SELECT currval('person_id_seq')");
1172
1170
</ PRE >
1173
-
1174
- Finally, you could use the < A href ="#4.16 "> < SMALL > OID</ SMALL > </ A >
1171
+
1172
+ < P > Finally, you could use the < A href ="#4.16 "> < SMALL > OID</ SMALL > </ A >
1175
1173
returned from the < SMALL > INSERT</ SMALL > statement to look up the
1176
1174
default value, though this is probably the least portable approach,
1177
1175
and the oid value will wrap around when it reaches 4 billion.
1178
- In Perl, using DBI with Edmund Mergl's DBD::Pg module, the oid
1179
- value is made available via < I > $sth->{pg_oid_status}</ I > after
1180
- < I > $sth->execute()</ I > .
1176
+ In Perl, using DBI with the DBD::Pg module, the oid value is made
1177
+ available via < I > $sth->{pg_oid_status}</ I > after
1178
+ < I > $sth->execute()</ I > .</ P >
1181
1179
1182
1180
< H4 > < A name ="4.15.3 "> 4.15.3</ A > ) Doesn't < I > currval()</ I >
1183
1181
lead to a race condition with other users?</ H4 >
0 commit comments