Updates from Ian Barwick.

Update FAQ with new URL's for site.
This commit is contained in:
Bruce Momjian 2004-12-24 17:19:23 +00:00
parent 8a10119bf3
commit 860d507b89
2 changed files with 30 additions and 32 deletions

View File

@ -1,7 +1,7 @@
Frequently Asked Questions (FAQ) for PostgreSQL Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Fri Dec 24 12:13:41 EST 2004 Last updated: Fri Dec 24 12:18:49 EST 2004
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)

View File

@ -10,17 +10,19 @@
alink="#0000ff"> alink="#0000ff">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Wed Dec 15 20:06:34 EST 2004</P> <P>Last updated: Fri Dec 24 12:18:49 EST 2004</P>
<P>Current maintainer: Bruce Momjian (<A href= <P>Current maintainer: Bruce Momjian (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR> "mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
</P> </P>
<P>The most recent version of this document can be viewed at <A href= <P>The most recent version of this document can be viewed at <A href=
"http://www.PostgreSQL.org/docs/faqs/FAQ.html">http://www.PostgreSQL.org/docs/faqs/FAQ.html</A>.</P> "http://www.postgresql.org/files/documentation/faqs/FAQ.html">
http://www.postgresql.org/files/documentation/faqs/FAQ.html</A>.</P>
<P>Platform-specific questions are answered at <A href= <P>Platform-specific questions are answered at <A href=
"http://www.PostgreSQL.org/docs/index.html">http://www.PostgreSQL.org/docs/index.html</A>.</P> "http://www.postgresql.org/docs/faq/">
http://www.postgresql.org/docs/faq/</A>.</P>
<HR> <HR>
<H2 align="center">General Questions</H2> <H2 align="center">General Questions</H2>
@ -177,7 +179,8 @@
responsible for all development of PostgreSQL. It is a community responsible for all development of PostgreSQL. It is a community
project and is not controlled by any company. To get involved, see project and is not controlled by any company. To get involved, see
the developer's FAQ at <A href= the developer's FAQ at <A href=
"http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html">http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html</A> "http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html">
http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html</A>
</P> </P>
<P>The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. <P>The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen.
@ -339,8 +342,9 @@
href= href=
"http://techdocs.PostgreSQL.org/">http://techdocs.PostgreSQL.org/</A>.</P> "http://techdocs.PostgreSQL.org/">http://techdocs.PostgreSQL.org/</A>.</P>
<P><I>psql</I> has some nice \d commands to show information about <P>The command line client program <I>psql</I> has some \d commands to show
types, operators, functions, aggregates, etc.</P> information about types, operators, functions, aggregates, etc. - use \? to
display the available commands.</P>
<P>Our web site contains even more documentation.</P> <P>Our web site contains even more documentation.</P>
@ -398,8 +402,8 @@
<H4><A name="1.13">1.13</A>) How do I submit a bug report?</H4> <H4><A name="1.13">1.13</A>) How do I submit a bug report?</H4>
<P>Visit the PostgreSQL bug form at <A href= <P>Visit the PostgreSQL bug form at <A href=
"http://www.postgresql.org/bugform.html"> "http://www.postgresql.org/support/submitbug">
http://www.postgresql.org/bugform.html</A>.</P> http://www.postgresql.org/support/submitbug</A>.</P>
<P>Also check out our ftp site <A href= <P>Also check out our ftp site <A href=
"ftp://ftp.PostgreSQL.org/pub">ftp://ftp.PostgreSQL.org/pub</A> to "ftp://ftp.PostgreSQL.org/pub">ftp://ftp.PostgreSQL.org/pub</A> to
@ -425,21 +429,15 @@
<DT><B>Performance</B></DT> <DT><B>Performance</B></DT>
<DD>PostgreSQL has performance similar to other commercial and <DD>PostgreSQL's performance is comparable to other commercial and
open source databases. it is faster for some things, slower for open source databases. It is faster for some things, slower for
others. In comparison to MySQL or leaner database systems, we are others. In comparison to MySQL or leaner database systems, we are
faster for multiple users, complex queries, and a read/write query faster for multiple users, complex queries, and a read/write query
load. MySQL is faster for simple SELECT queries done by a few users. load. MySQL is faster for simple SELECT queries done by a few users.
Of course, MySQL does not have most of the features mentioned in the Of course, MySQL does not have most of the features mentioned in the
<I>Features</I> section above. We are built for reliability and <I>Features</I> section above. We are built for reliability and
features, and we continue to improve performance in every features, and we continue to improve performance in every
release. There is an interesting Web page comparing PostgreSQL to release. <BR>
MySQL at <A href="http://openacs.org/philosophy/why-not-mysql.html">
http://openacs.org/philosophy/why-not-mysql.html</A> Also, MySQL is
is a company that distributes its products via open source, and requires
a commercial license for close-source software, not an
open source development community like PostgreSQL.<BR>
<BR> <BR>
</DD> </DD>
@ -498,13 +496,13 @@
"contributions" item is solely to support the PostgreSQL project "contributions" item is solely to support the PostgreSQL project
and does not fund any specific company. If you prefer, you can also and does not fund any specific company. If you prefer, you can also
send a check to the contact address.</P> send a check to the contact address.</P>
<P>Also, if you have a success story about PostgreSQL, please email
it to our advocacy list at <a href="mailto:pgsql-advocacy@postgresql.org">
pgsql-advocacy@postgresql.org</a>.</P>
<HR> <HR>
<P>Also, if you have a success story about PostgreSQL, please submit
it to our advocacy site at <a href="http://advocacy.postgresql.org">
http://advocacy.postgresql.org</a>.</P>
<H2 align="center">User Client Questions</H2> <H2 align="center">User Client Questions</H2>
<H4><A name="2.1">2.1</A>) Are there <SMALL>ODBC</SMALL> drivers <H4><A name="2.1">2.1</A>) Are there <SMALL>ODBC</SMALL> drivers
@ -544,7 +542,7 @@
<P>Yes, there are several graphical interfaces to PostgreSQL available. <P>Yes, there are several graphical interfaces to PostgreSQL available.
These include PgAccess <a href="http://www.pgaccess.org"> These include PgAccess <a href="http://www.pgaccess.org">
http://www.pgaccess.org</a>), PgAdmin III (<a http://www.pgaccess.org</a>), pgAdmin III (<a
href="http://www.pgadmin.org">http://www.pgadmin.org</a>, RHDB Admin (<a href="http://www.pgadmin.org">http://www.pgadmin.org</a>, RHDB Admin (<a
href="http://sources.redhat.com/rhdb/">http://sources.redhat.com/rhdb/ href="http://sources.redhat.com/rhdb/">http://sources.redhat.com/rhdb/
</a>), TORA (<a href="http://www.globecom.net/tora/">http://www.globecom.net/tora/ </a>), TORA (<a href="http://www.globecom.net/tora/">http://www.globecom.net/tora/
@ -674,9 +672,9 @@
kernel's limit on shared memory space. Each buffer is 8K and the kernel's limit on shared memory space. Each buffer is 8K and the
default is 1000 buffers.</P> default is 1000 buffers.</P>
<P>You can also use the <I>sort_mem</I> and <I>work_mem</I> options <P>You can also use the <I>sort_mem</I> (from PostgreSQL 8.0: <I>work_mem</I>)
to increase the maximum amount of memory used by the backend processes options to increase the maximum amount of memory used by the backend
for each temporary sort. The default is 1024 (i.e. 1MB).</P> processes for each temporary sort. The default is 1024 (i.e. 1MB).</P>
<P>You can also use the <SMALL>CLUSTER</SMALL> command to group <P>You can also use the <SMALL>CLUSTER</SMALL> command to group
data in tables to match an index. See the <SMALL>CLUSTER</SMALL> data in tables to match an index. See the <SMALL>CLUSTER</SMALL>
@ -1171,13 +1169,13 @@ BYTEA bytea variable-length byte array (null-byte safe)
new_id = execute("SELECT currval('person_id_seq')"); new_id = execute("SELECT currval('person_id_seq')");
</PRE> </PRE>
Finally, you could use the <A href="#4.16"><SMALL>OID</SMALL></A> <P>Finally, you could use the <A href="#4.16"><SMALL>OID</SMALL></A>
returned from the <SMALL>INSERT</SMALL> statement to look up the returned from the <SMALL>INSERT</SMALL> statement to look up the
default value, though this is probably the least portable approach, default value, though this is probably the least portable approach,
and the oid value will wrap around when it reaches 4 billion. and the oid value will wrap around when it reaches 4 billion.
In Perl, using DBI with Edmund Mergl's DBD::Pg module, the oid In Perl, using DBI with the DBD::Pg module, the oid value is made
value is made available via <I>$sth-&gt;{pg_oid_status}</I> after available via <I>$sth-&gt;{pg_oid_status}</I> after
<I>$sth-&gt;execute()</I>. <I>$sth-&gt;execute()</I>.</P>
<H4><A name="4.15.3">4.15.3</A>) Doesn't <I>currval()</I> <H4><A name="4.15.3">4.15.3</A>) Doesn't <I>currval()</I>
lead to a race condition with other users?</H4> lead to a race condition with other users?</H4>