From: Bruce Momjian Date: Sun, 28 Jan 2001 17:43:54 +0000 (+0000) Subject: Update FAQ. X-Git-Tag: REL7_1~612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be88b0d888749f576abff31b130dd730a54267b1;p=postgresql Update FAQ. --- diff --git a/doc/src/FAQ/FAQ.html b/doc/src/FAQ/FAQ.html index 14a39c8e91..adfea776f4 100644 --- a/doc/src/FAQ/FAQ.html +++ b/doc/src/FAQ/FAQ.html @@ -53,8 +53,8 @@ 2.1) Are there ODBC drivers for PostgreSQL?
- 2.2) What tools are available for use PostgreSQL - with Web pages?
+ 2.2) What tools are available for use + PostgreSQL with Web pages?
2.3) Does PostgreSQL have a graphical user interface? A report generator? An embedded query language interface?
@@ -103,16 +103,16 @@ database?
4.7) How much database disk space is required to store data from a typical text file?
- 4.8) How do I find out what tables or - indexes are defined in the database?
+ 4.8) How do I find out what tables or indexes + are defined in the database?
4.9) My queries are slow or don't make use of the indexes. Why?
4.10) How do I see how the query optimizer is evaluating my query?
4.11) What is an R-tree index?
4.12) What is the Genetic Query Optimizer?
- 4.13) How do I perform regular expression searches - and case-insensitive regular expression searches?
+ 4.13) How do I perform regular expression + searches and case-insensitive regular expression searches?
4.14) In a query, how do I detect if a field is NULL?
4.15) What is the difference between the @@ -198,8 +198,9 @@

PostgreSQL Data Base Management System

-

Portions copyright (c) 1996-2001, PostgreSQL Global Development Group Portions - Copyright (c) 1994-6 Regents of the University of California

+

Portions copyright (c) 1996-2001, PostgreSQL Global Development + Group Portions Copyright (c) 1994-6 Regents of the University of + California

Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a @@ -499,8 +500,8 @@ "mailto:postgres95@openlink.co.uk">postgres95@openlink.co.uk.

See also the ODBC chapter - of the Programmer's Guide.

+ "http://www.PostgreSQL.org/users-lounge/docs/programmer/odbc.htm">ODBC + chapter of the Programmer's Guide.

2.2) What tools are available for using PostgreSQL with Web pages?

@@ -839,16 +840,16 @@ Maximum number of columns in a table? 250-1600 depending on column types Maximum number of indexes on a table? unlimited Of course, these are not actually unlimited, but limited to - available disk space and memory/swap space. Performance may - suffer when these values get unusually large. + available disk space and memory/swap space. Performance may suffer + when these values get unusually large.

The maximum table size of 16TB does not require large file - support from the operating system. Large tables are stored - as multiple 1GB files. - + support from the operating system. Large tables are stored as + multiple 1GB files.

+

The maximum table size and maximum number of columns can be increased by a factor of four if the default block size is - increased to 32k. + increased to 32k.

4.7) How much database disk space is required to store data from a typical text file?
@@ -883,8 +884,8 @@ Maximum number of indexes on a table? unlimited

Indexes do not require as much overhead, but do contain the data that is being indexed, so they can be large also.

-

4.8) How do I find out what tables or - indexes are defined in the database?

+

4.8) How do I find out what tables or indexes + are defined in the database?

psql has a variety of backslash commands to show such information. Use \? to see them.

@@ -966,8 +967,8 @@ Maximum number of indexes on a table? unlimited

The ~ operator does regular expression matching, and ~* does case-insensitive regular expression matching. The - case-insensitive variant of LIKE - is called ILIKE.

+ case-insensitive variant of LIKE is called + ILIKE.

4.14) In a query, how do I detect if a field is NULL?

@@ -1223,13 +1224,14 @@ BYTEA bytea variable-length byte array (null-safe) SELECT * FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col); -or + or
     SELECT *
     FROM t1 LEFT OUTER JOIN t2 USING (col);
 
- These identical queries join t1.col to t2.col, and also return any - unjoined rows in t1 (those with no match in t2). A + +

These identical queries join t1.col to t2.col, and also return + any unjoined rows in t1 (those with no match in t2). A RIGHT join would add unjoined rows of t2. A FULL join would return the matched rows plus all unjoined rows from t1 and t2. The word OUTER is @@ -1242,7 +1244,7 @@ or joining tab1 and tab2, the following query does an outer join of the two tables:

- +

     SELECT tab1.col1, tab2.col2
     FROM tab1, tab2
@@ -1296,3 +1298,4 @@ or
     compiler compute the dependencies automatically.

+