Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 709392b

Browse files
committed
Update FAQ.
1 parent d811461 commit 709392b

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

doc/FAQ

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
Additional mailing lists and information about PostgreSQL can be found
253253
via the PostgreSQL WWW home page at:
254254

255-
http://postgreSQL.org
255+
http://www.postgreSQL.org
256256

257257
There is also an IRC channel on EFNet, channel #PostgreSQL. I use the
258258
unix command irc -c '#PostgreSQL' "$USER" irc.phoenix.net.
@@ -453,6 +453,7 @@
453453

454454
3.1) Why does initdb fail?
455455

456+
Try these:
456457
* check that you don't have any of the previous version's binaries
457458
in your path
458459
* check to see that you have the proper paths set
@@ -469,7 +470,7 @@
469470
message. Why?
470471

471472
It could be a variety of problems, but first check to see that you
472-
have system V extensions installed in your kernel. PostgreSQL requires
473+
have System V extensions installed in your kernel. PostgreSQL requires
473474
kernel support for shared memory and semaphores.
474475

475476
3.4) When I try to start the postmaster, I get IpcMemoryCreate errors. Why?
@@ -606,7 +607,7 @@
606607
You need to increase the postmaster's limit on how many concurrent
607608
backend processes it can start.
608609

609-
In Postgres 6.5 and up, the default limit is 32 processes. You can
610+
In PostgreSQL 6.5 and up, the default limit is 32 processes. You can
610611
increase it by restarting the postmaster with a suitable -N value.
611612
With the default configuration you can set -N as large as 1024; if you
612613
need more, increase MAXBACKENDS in include/config.h and rebuild. You
@@ -622,12 +623,12 @@
622623
number of semaphores, SEMMNS and SEMMNI, the maximum number of
623624
processes, NPROC, the maximum number of processes per user, MAXUPRC,
624625
and the maximum number of open files, NFILE and NINODE. The reason
625-
that Postgres has a limit on the number of allowed backend processes
626+
that PostgreSQL has a limit on the number of allowed backend processes
626627
is so that you can ensure that your system won't run out of resources.
627628

628-
In Postgres versions prior to 6.5, the maximum number of backends was
629-
64, and changing it required a rebuild after altering the MaxBackendId
630-
constant in include/storage/sinvaladt.h.
629+
In PostgreSQL versions prior to 6.5, the maximum number of backends
630+
was 64, and changing it required a rebuild after altering the
631+
MaxBackendId constant in include/storage/sinvaladt.h.
631632

632633
3.13) What are the pg_tempNNN.NN files in my database directory?
633634

@@ -704,7 +705,7 @@ Maximum number of indexes on a table? unlimited
704705
4.7)How much database disk space is required to store data from a typical
705706
flat file?
706707

707-
A Postgres database can require about six and a half times the disk
708+
A PostgreSQL database can require about six and a half times the disk
708709
space required to store the data in a flat file.
709710

710711
Consider a file of 300,000 lines with two integers on each line. The
@@ -772,7 +773,7 @@ Maximum number of indexes on a table? unlimited
772773

773774
4.11) What is an R-tree index?
774775

775-
An r-tree index is used for indexing spatial data. A hash index can't
776+
An R-tree index is used for indexing spatial data. A hash index can't
776777
handle range searches. A B-tree index only handles range searches in a
777778
single dimension. R-tree's can handle multi-dimensional data. For
778779
example, if an R-tree index can be built on an attribute of type
@@ -839,13 +840,13 @@ BYTEA bytea variable-length array of bytes
839840
4.16.1) How do I create a serial/auto-incrementing field?
840841

841842
PostgreSQL supports SERIAL data type. It auto-creates a sequence and
842-
index on the column. For example, this...
843+
index on the column. For example, this:
843844
CREATE TABLE person (
844845
id SERIAL,
845846
name TEXT
846847
);
847848

848-
...is automatically translated into this...
849+
is automatically translated into this:
849850
CREATE SEQUENCE person_id_seq;
850851
CREATE TABLE person (
851852
id INT4 NOT NULL DEFAULT nextval('person_id_seq'),
@@ -858,7 +859,7 @@ BYTEA bytea variable-length array of bytes
858859
However, if you need to dump and reload the database, you need to use
859860
pg_dump's -o option or COPY WITH OIDS option to preserve the oids.
860861

861-
For more details, see Bruce Momjian's chapter on Numbering Rows.
862+
Numbering Rows.
862863

863864
4.16.2) How do I get the back the generated SERIAL value after an insert?
864865

doc/src/FAQ/FAQ.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ <H4><A NAME="1.6">1.6</A>) Where can I get support for PostgreSQL?</H4><P>
324324
via the PostgreSQL WWW home page at:
325325

326326
<BLOCKQUOTE>
327-
<A HREF="http://postgreSQL.org">http://postgreSQL.org</A>
327+
<A HREF="http://www.postgreSQL.org">http://www.postgreSQL.org</A>
328328
</BLOCKQUOTE><P>
329329

330330
There is also an IRC channel on EFNet, channel #PostgreSQL.
@@ -573,6 +573,7 @@ <H2><CENTER>Administrative Questions</CENTER></H2><P>
573573

574574
<H4><A NAME="3.1">3.1</A>) Why does initdb fail?</H4><P>
575575

576+
Try these:
576577
<UL>
577578
<LI> check that you don't have any of the previous version's binaries in
578579
your path
@@ -593,7 +594,7 @@ <H4><A NAME="3.3">3.3</A>) When I start the postmaster, I get a <I>Bad
593594
System Call</I> or core dumped message. Why?</H4><P>
594595

595596
It could be a variety of problems, but first check to see that you
596-
have system V extensions installed in your kernel. PostgreSQL requires
597+
have System V extensions installed in your kernel. PostgreSQL requires
597598
kernel support for shared memory and semaphores.<P>
598599

599600

@@ -750,7 +751,7 @@ <H4><A NAME="3.12">3.12</A>) I get 'Sorry, too many clients' when trying
750751
You need to increase the postmaster's limit on how many concurrent backend
751752
processes it can start.<P>
752753

753-
In Postgres 6.5 and up, the default limit is 32 processes. You can
754+
In PostgreSQL 6.5 and up, the default limit is 32 processes. You can
754755
increase it by restarting the postmaster with a suitable <I>-N</I>
755756
value. With the default configuration you can set <I>-N</I> as large as
756757
1024; if you need more, increase <SMALL>MAXBACKENDS</SMALL> in
@@ -768,11 +769,11 @@ <H4><A NAME="3.12">3.12</A>) I get 'Sorry, too many clients' when trying
768769
<SMALL>SEMMNS</SMALL> and <SMALL>SEMMNI,</SMALL> the maximum number of
769770
processes, <SMALL>NPROC,</SMALL> the maximum number of processes per
770771
user, <SMALL>MAXUPRC,</SMALL> and the maximum number of open files,
771-
<SMALL>NFILE</SMALL> and <SMALL>NINODE.</SMALL> The reason that Postgres
772+
<SMALL>NFILE</SMALL> and <SMALL>NINODE.</SMALL> The reason that PostgreSQL
772773
has a limit on the number of allowed backend processes is so that you
773774
can ensure that your system won't run out of resources.<P>
774775

775-
In Postgres versions prior to 6.5, the maximum number of backends was
776+
In PostgreSQL versions prior to 6.5, the maximum number of backends was
776777
64, and changing it required a rebuild after altering the MaxBackendId
777778
constant in <I>include/storage/sinvaladt.h.</I><P>
778779

@@ -872,7 +873,7 @@ <H4><A NAME="4.6">4.6</A>) What is the maximum size for a
872873
<H4><A NAME="4.7">4.7</A>)How much database disk space is required to
873874
store data from a typical flat file?<BR></H4><P>
874875

875-
A Postgres database can require about six and a half times the disk space
876+
A PostgreSQL database can require about six and a half times the disk space
876877
required to store the data in a flat file.<P>
877878

878879
Consider a file of 300,000 lines with two integers on each line. The
@@ -948,7 +949,7 @@ <H4><A NAME="4.10">4.10</A>) How do I see how the query optimizer is
948949

949950
<H4><A NAME="4.11">4.11</A>) What is an R-tree index?</H4><P>
950951

951-
An r-tree index is used for indexing spatial data. A hash index can't
952+
An R-tree index is used for indexing spatial data. A hash index can't
952953
handle range searches. A B-tree index only handles range searches in a
953954
single dimension. R-tree's can handle multi-dimensional data. For
954955
example, if an R-tree index can be built on an attribute of type <I>point,</I>
@@ -1027,14 +1028,14 @@ <H4><A NAME="4.16.1">4.16.1</A>) How do I create a
10271028
serial/auto-incrementing field?</H4><P>
10281029

10291030
PostgreSQL supports <SMALL>SERIAL</SMALL> data type. It auto-creates a
1030-
sequence and index on the column. For example, this...
1031+
sequence and index on the column. For example, this:
10311032
<PRE>
10321033
CREATE TABLE person (
10331034
id SERIAL,
10341035
name TEXT
10351036
);
10361037
</PRE>
1037-
...is automatically translated into this...
1038+
is automatically translated into this:
10381039
<PRE>
10391040
CREATE SEQUENCE person_id_seq;
10401041
CREATE TABLE person (
@@ -1049,7 +1050,6 @@ <H4><A NAME="4.16.1">4.16.1</A>) How do I create a
10491050
you need to dump and reload the database, you need to use <I>pg_dump's -o</I>
10501051
option or <SMALL>COPY WITH OIDS</SMALL> option to preserve the oids.<P>
10511052

1052-
For more details, see Bruce Momjian's chapter on
10531053
<A HREF="http://www.postgresql.org/docs/aw_pgsql_book">Numbering Rows.</A>
10541054

10551055
<H4><A NAME="4.16.2">4.16.2</A>) How do I get the back the generated SERIAL value after an insert?</H4><P>

0 commit comments

Comments
 (0)