Final FAQ cleanups to remove information about very old releases.
This commit is contained in:
parent
3c16965995
commit
4f63cc6a30
13
doc/FAQ
13
doc/FAQ
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Frequently Asked Questions (FAQ) for PostgreSQL
|
Frequently Asked Questions (FAQ) for PostgreSQL
|
||||||
|
|
||||||
Last updated: Mon Jan 31 21:35:15 EST 2005
|
Last updated: Mon Jan 31 21:40:28 EST 2005
|
||||||
|
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
|
|
||||||
@ -808,18 +808,18 @@
|
|||||||
uncertain how a cross-database query should even behave.
|
uncertain how a cross-database query should even behave.
|
||||||
|
|
||||||
contrib/dblink allows cross-database queries using function calls. Of
|
contrib/dblink allows cross-database queries using function calls. Of
|
||||||
course, a client can make simultaneous connections to different
|
course, a client can also make simultaneous connections to different
|
||||||
databases and merge the results on the client side.
|
databases and merge the results on the client side.
|
||||||
|
|
||||||
4.19) How do I return multiple rows or columns from a function?
|
4.19) How do I return multiple rows or columns from a function?
|
||||||
|
|
||||||
In 7.3, you can easily return multiple rows or columns from a
|
It is easy using set-returning functions,
|
||||||
function, http://techdocs.postgresql.org/guides/SetReturningFunctions.
|
http://techdocs.postgresql.org/guides/SetReturningFunctions.
|
||||||
|
|
||||||
4.20) Why can't I reliably create/drop temporary tables in PL/PgSQL
|
4.20) Why can't I reliably create/drop temporary tables in PL/PgSQL
|
||||||
functions?
|
functions?
|
||||||
|
|
||||||
PL/PgSQL caches function contents, and an unfortunate side effect is
|
PL/PgSQL caches function scripts, and an unfortunate side effect is
|
||||||
that if a PL/PgSQL function accesses a temporary table, and that table
|
that if a PL/PgSQL function accesses a temporary table, and that table
|
||||||
is later dropped and recreated, and the function called again, the
|
is later dropped and recreated, and the function called again, the
|
||||||
function will fail because the cached function contents still point to
|
function will fail because the cached function contents still point to
|
||||||
@ -838,8 +838,7 @@
|
|||||||
possible to use a third-party encrypted transport, such as stunnel
|
possible to use a third-party encrypted transport, such as stunnel
|
||||||
or ssh, rather than PostgreSQL's native SSL connections.)
|
or ssh, rather than PostgreSQL's native SSL connections.)
|
||||||
* Database user passwords are automatically encrypted when stored in
|
* Database user passwords are automatically encrypted when stored in
|
||||||
version 7.3. In previous versions, you must enable the option
|
the system tables.
|
||||||
PASSWORD_ENCRYPTION in postgresql.conf.
|
|
||||||
* The server can run using an encrypted file system.
|
* The server can run using an encrypted file system.
|
||||||
_________________________________________________________________
|
_________________________________________________________________
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
alink="#0000ff">
|
alink="#0000ff">
|
||||||
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
||||||
|
|
||||||
<P>Last updated: Mon Jan 31 21:35:15 EST 2005</P>
|
<P>Last updated: Mon Jan 31 21:40:28 EST 2005</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>)
|
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)
|
||||||
@ -1040,25 +1040,25 @@ length</TD></TR>
|
|||||||
uncertain how a cross-database query should even behave.</P>
|
uncertain how a cross-database query should even behave.</P>
|
||||||
|
|
||||||
<P><I>contrib/dblink</I> allows cross-database queries using
|
<P><I>contrib/dblink</I> allows cross-database queries using
|
||||||
function calls. Of course, a client can make simultaneous
|
function calls. Of course, a client can also make simultaneous
|
||||||
connections to different databases and merge the results on the
|
connections to different databases and merge the results on the
|
||||||
client side.</P>
|
client side.</P>
|
||||||
|
|
||||||
<H4><A name="4.19">4.19</A>) How do I return multiple rows or
|
<H4><A name="4.19">4.19</A>) How do I return multiple rows or
|
||||||
columns from a function?</H4>
|
columns from a function?</H4>
|
||||||
|
|
||||||
<P>In 7.3, you can easily return multiple rows or columns from a
|
<P>It is easy using set-returning functions,
|
||||||
function,
|
|
||||||
<a href="http://techdocs.postgresql.org/guides/SetReturningFunctions">
|
<a href="http://techdocs.postgresql.org/guides/SetReturningFunctions">
|
||||||
http://techdocs.postgresql.org/guides/SetReturningFunctions</a>.
|
http://techdocs.postgresql.org/guides/SetReturningFunctions</a>.
|
||||||
|
|
||||||
<H4><A name="4.20">4.20</A>) Why can't I reliably create/drop
|
<H4><A name="4.20">4.20</A>) Why can't I reliably create/drop
|
||||||
temporary tables in PL/PgSQL functions?</H4>
|
temporary tables in PL/PgSQL functions?</H4>
|
||||||
<P>PL/PgSQL caches function contents, and an unfortunate side effect
|
|
||||||
|
<P>PL/PgSQL caches function scripts, and an unfortunate side effect
|
||||||
is that if a PL/PgSQL function accesses a temporary table, and that
|
is that if a PL/PgSQL function accesses a temporary table, and that
|
||||||
table is later dropped and recreated, and the function called
|
table is later dropped and recreated, and the function called again,
|
||||||
again, the function will fail because the cached function contents
|
the function will fail because the cached function contents still
|
||||||
still point to the old temporary table. The solution is to use
|
point to the old temporary table. The solution is to use
|
||||||
<SMALL>EXECUTE</SMALL> for temporary table access in PL/PgSQL. This
|
<SMALL>EXECUTE</SMALL> for temporary table access in PL/PgSQL. This
|
||||||
will cause the query to be reparsed every time.</P>
|
will cause the query to be reparsed every time.</P>
|
||||||
|
|
||||||
@ -1075,8 +1075,7 @@ length</TD></TR>
|
|||||||
encrypted transport, such as stunnel or ssh, rather than PostgreSQL's
|
encrypted transport, such as stunnel or ssh, rather than PostgreSQL's
|
||||||
native SSL connections.)
|
native SSL connections.)
|
||||||
<LI>Database user passwords are automatically encrypted when stored in
|
<LI>Database user passwords are automatically encrypted when stored in
|
||||||
version 7.3. In previous versions, you must enable the option
|
the system tables.</LI>
|
||||||
<I>PASSWORD_ENCRYPTION</I> in <I>postgresql.conf</I>.</LI>
|
|
||||||
<LI>The server can run using an encrypted file system.</LI>
|
<LI>The server can run using an encrypted file system.</LI>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user