mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Update contrib documention mentions to point to actual documentation
sections, rather than just calling it "/contrib/module_name". Also update pg_test_fsync build instructions now that it is in /contrib.
This commit is contained in:
parent
e84730a916
commit
159e3d8629
@ -9,7 +9,7 @@
|
|||||||
</indexterm>
|
</indexterm>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>contrib/spi</> module provides several workable examples
|
The <application>spi</> module provides several workable examples
|
||||||
of using SPI and triggers. While these functions are of some value in
|
of using SPI and triggers. While these functions are of some value in
|
||||||
their own right, they are even more useful as examples to modify for
|
their own right, they are even more useful as examples to modify for
|
||||||
your own purposes. The functions are general enough to be used
|
your own purposes. The functions are general enough to be used
|
||||||
|
@ -3917,9 +3917,9 @@ a0ee-bc99-9c0b-4ef8-bb6d-6bb9-bd38-0a11
|
|||||||
<productname>PostgreSQL</productname> provides storage and comparison
|
<productname>PostgreSQL</productname> provides storage and comparison
|
||||||
functions for UUIDs, but the core database does not include any
|
functions for UUIDs, but the core database does not include any
|
||||||
function for generating UUIDs, because no single algorithm is well
|
function for generating UUIDs, because no single algorithm is well
|
||||||
suited for every application. The contrib module
|
suited for every application. The <xref
|
||||||
<filename>contrib/uuid-ossp</filename> provides functions that implement
|
linkend="uuid-ossp"> module
|
||||||
several standard algorithms.
|
provides functions that implement several standard algorithms.
|
||||||
Alternatively, UUIDs could be generated by client applications or
|
Alternatively, UUIDs could be generated by client applications or
|
||||||
other libraries invoked through a server-side function.
|
other libraries invoked through a server-side function.
|
||||||
</para>
|
</para>
|
||||||
|
@ -303,7 +303,7 @@ SELECT dblink_disconnect('myconn');
|
|||||||
</refsect1>
|
</refsect1>
|
||||||
</refentry>
|
</refentry>
|
||||||
|
|
||||||
<refentry id="CONTRIB-DBLINK">
|
<refentry id="CONTRIB-DBLINK-FUNCTION">
|
||||||
<refmeta>
|
<refmeta>
|
||||||
<refentrytitle>dblink</refentrytitle>
|
<refentrytitle>dblink</refentrytitle>
|
||||||
<manvolnum>3</manvolnum>
|
<manvolnum>3</manvolnum>
|
||||||
|
@ -31,10 +31,9 @@
|
|||||||
<para>
|
<para>
|
||||||
You can monitor disk space in three ways:
|
You can monitor disk space in three ways:
|
||||||
using the SQL functions listed in <xref linkend="functions-admin-dbsize">,
|
using the SQL functions listed in <xref linkend="functions-admin-dbsize">,
|
||||||
using the tools in <filename>contrib/oid2name</>, or
|
using the <xref linkend="oid2name"> module, or
|
||||||
using manual inspection of the system catalogs.
|
using manual inspection of the system catalogs.
|
||||||
The SQL functions are the easiest to use and are generally recommended.
|
The SQL functions are the easiest to use and are generally recommended.
|
||||||
<filename>contrib/oid2name</> is described in <xref linkend="oid2name">.
|
|
||||||
The remainder of this section shows how to do it by inspection of the
|
The remainder of this section shows how to do it by inspection of the
|
||||||
system catalogs.
|
system catalogs.
|
||||||
</para>
|
</para>
|
||||||
|
@ -966,8 +966,8 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
|
|||||||
sections is to use a <varname>restore_command</> that polls the archive location.
|
sections is to use a <varname>restore_command</> that polls the archive location.
|
||||||
This was the only option available in versions 8.4 and below. In this
|
This was the only option available in versions 8.4 and below. In this
|
||||||
setup, set <varname>standby_mode</> off, because you are implementing
|
setup, set <varname>standby_mode</> off, because you are implementing
|
||||||
the polling required for standby operation yourself. See
|
the polling required for standby operation yourself. See the
|
||||||
contrib/pg_standby (<xref linkend="pgstandby">) for a reference
|
<xref linkend="pgstandby"> module for a reference
|
||||||
implementation of this.
|
implementation of this.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -1027,7 +1027,7 @@ if (!triggered)
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
A working example of a waiting <varname>restore_command</> is provided
|
A working example of a waiting <varname>restore_command</> is provided
|
||||||
as a <filename>contrib</> module named <application>pg_standby</>. It
|
in the <xref linkend="pgstandby"> module. It
|
||||||
should be used as a reference on how to correctly implement the logic
|
should be used as a reference on how to correctly implement the logic
|
||||||
described above. It can also be extended as needed to support specific
|
described above. It can also be extended as needed to support specific
|
||||||
configurations and environments.
|
configurations and environments.
|
||||||
@ -1542,7 +1542,7 @@ if (!triggered)
|
|||||||
primary server and keep a query active for as long as needed to
|
primary server and keep a query active for as long as needed to
|
||||||
run queries on the standby. This prevents <command>VACUUM</> from removing
|
run queries on the standby. This prevents <command>VACUUM</> from removing
|
||||||
recently-dead rows and so cleanup conflicts do not occur.
|
recently-dead rows and so cleanup conflicts do not occur.
|
||||||
This could be done using <filename>contrib/dblink</> and
|
This could be done using <xref linkend="dblink"> and
|
||||||
<function>pg_sleep()</>, or via other mechanisms. If you do this, you
|
<function>pg_sleep()</>, or via other mechanisms. If you do this, you
|
||||||
should note that this will delay cleanup of dead rows on the primary,
|
should note that this will delay cleanup of dead rows on the primary,
|
||||||
which may result in undesirable table bloat. However, the cleanup
|
which may result in undesirable table bloat. However, the cleanup
|
||||||
|
@ -1007,8 +1007,8 @@ su - postgres
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Use the <ulink url="http://www.ossp.org/pkg/lib/uuid/">OSSP UUID
|
Use the <ulink url="http://www.ossp.org/pkg/lib/uuid/">OSSP UUID
|
||||||
library</ulink> when building <filename>contrib/uuid-ossp</>.
|
library</ulink> when building the <xref linkend="uuid-ossp">
|
||||||
The library provides functions to generate
|
module. The library provides functions to generate
|
||||||
UUIDs.<indexterm><primary>UUID</primary></indexterm>
|
UUIDs.<indexterm><primary>UUID</primary></indexterm>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -1041,9 +1041,9 @@ su - postgres
|
|||||||
<term><option>--with-libxslt</option></term>
|
<term><option>--with-libxslt</option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Use libxslt when building <filename>contrib/xml2</>.
|
Use libxslt when building the <xref linkend="xml2">
|
||||||
<filename>contrib/xml2</> relies on this library to perform
|
module. <application>xml2</> relies on this library
|
||||||
XSL transformations of XML.
|
to perform XSL transformations of XML.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -99,7 +99,7 @@ CREATE TRIGGER t_raster BEFORE UPDATE OR DELETE ON image
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you already have, or suspect you have, orphaned large objects, see the
|
If you already have, or suspect you have, orphaned large objects, see the
|
||||||
<filename>contrib/vacuumlo</> module (<xref linkend="vacuumlo">) to help
|
<xref linkend="vacuumlo"> module to help
|
||||||
you clean them up. It's a good idea to run <application>vacuumlo</>
|
you clean them up. It's a good idea to run <application>vacuumlo</>
|
||||||
occasionally as a back-stop to the <function>lo_manage</> trigger.
|
occasionally as a back-stop to the <function>lo_manage</> trigger.
|
||||||
</para>
|
</para>
|
||||||
|
@ -686,8 +686,9 @@ SELECT *
|
|||||||
AS t1(proname name, prosrc text)
|
AS t1(proname name, prosrc text)
|
||||||
WHERE proname LIKE 'bytea%';
|
WHERE proname LIKE 'bytea%';
|
||||||
</programlisting>
|
</programlisting>
|
||||||
The <literal>dblink</> function executes a remote query (see
|
The <xref linkend="CONTRIB-DBLINK-FUNCTION"> function
|
||||||
<filename>contrib/dblink</>). It is declared to return
|
(part of the <xref linkend="dblink"> module>) executes
|
||||||
|
a remote query. It is declared to return
|
||||||
<type>record</> since it might be used for any kind of query.
|
<type>record</> since it might be used for any kind of query.
|
||||||
The actual column set must be specified in the calling query so
|
The actual column set must be specified in the calling query so
|
||||||
that the parser knows, for example, what <literal>*</> should
|
that the parser knows, for example, what <literal>*</> should
|
||||||
|
@ -92,9 +92,8 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
|
|||||||
may be safely removed.
|
may be safely removed.
|
||||||
This information can be used to truncate the archive to just the
|
This information can be used to truncate the archive to just the
|
||||||
minimum required to support restart from the current restore.
|
minimum required to support restart from the current restore.
|
||||||
The <application>pg_archivecleanup</> utility provided in
|
The <xref linkend="pgarchivecleanup"> module
|
||||||
<literal>contrib</> (see <xref linkend="pgarchivecleanup">) serves as a
|
is often used in <varname>archive_cleanup_command</> for
|
||||||
convenient target for <varname>archive_cleanup_command</> in typical
|
|
||||||
single-standby configurations, for example:
|
single-standby configurations, for example:
|
||||||
<programlisting> archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' </programlisting>
|
<programlisting> archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' </programlisting>
|
||||||
Note however that if multiple standby servers are restoring from the
|
Note however that if multiple standby servers are restoring from the
|
||||||
|
@ -276,8 +276,8 @@ CREATE OPERATOR CLASS <replaceable class="parameter">name</replaceable> [ DEFAUL
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
The following example command defines a GiST index operator class
|
The following example command defines a GiST index operator class
|
||||||
for the data type <literal>_int4</> (array of <type>int4</type>). See
|
for the data type <literal>_int4</> (array of <type>int4</type>). See the
|
||||||
<filename>contrib/intarray/</> for the complete example.
|
<xref linkend="intarray"> module for the complete example.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
@ -1502,9 +1502,8 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The <filename>contrib</> function library
|
The <xref linkend="pgcrypto"> module allows certain fields to be
|
||||||
<link linkend="pgcrypto"><function>pgcrypto</function></link>
|
stored encrypted.
|
||||||
allows certain fields to be stored encrypted.
|
|
||||||
This is useful if only some of the data is sensitive.
|
This is useful if only some of the data is sensitive.
|
||||||
The client supplies the decryption key and the data is decrypted
|
The client supplies the decryption key and the data is decrypted
|
||||||
on the server and then sent to the client.
|
on the server and then sent to the client.
|
||||||
|
@ -3939,8 +3939,8 @@ INSERT INTO a SELECT * FROM a;
|
|||||||
using <function>SPI_exec</function> and returns the number of rows
|
using <function>SPI_exec</function> and returns the number of rows
|
||||||
that were processed by the command. You can find more complex
|
that were processed by the command. You can find more complex
|
||||||
examples for SPI in the source tree in
|
examples for SPI in the source tree in
|
||||||
<filename>src/test/regress/regress.c</filename> and in
|
<filename>src/test/regress/regress.c</filename> and in the
|
||||||
<filename>contrib/spi</filename>.
|
<xref linkend="contrib-spi"> module.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
@ -455,8 +455,8 @@ at the root.
|
|||||||
<para>
|
<para>
|
||||||
See <filename>src/backend/storage/freespace/README</> for more details on
|
See <filename>src/backend/storage/freespace/README</> for more details on
|
||||||
how the <acronym>FSM</> is structured, and how it's updated and searched.
|
how the <acronym>FSM</> is structured, and how it's updated and searched.
|
||||||
The <filename>contrib/pg_freespacemap</> module can be used to examine the
|
The <xref linkend="pgfreespacemap"> module
|
||||||
information stored in free space maps (see <xref linkend="pgfreespacemap">).
|
can be used to examine the information stored in free space maps.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -2132,9 +2132,7 @@ ALTER TEXT SEARCH CONFIGURATION astro_en
|
|||||||
end where it'd be useless. Filtering dictionaries are useful to partially
|
end where it'd be useless. Filtering dictionaries are useful to partially
|
||||||
normalize words to simplify the task of later dictionaries. For example,
|
normalize words to simplify the task of later dictionaries. For example,
|
||||||
a filtering dictionary could be used to remove accents from accented
|
a filtering dictionary could be used to remove accents from accented
|
||||||
letters, as is done by the
|
letters, as is done by the <xref linkend="unaccent"> module.
|
||||||
<link linkend="unaccent"><filename>contrib/unaccent</></link>
|
|
||||||
extension module.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<sect2 id="textsearch-stopwords">
|
<sect2 id="textsearch-stopwords">
|
||||||
@ -3367,8 +3365,8 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable>
|
|||||||
allows the implementation of very fast searches with online update.
|
allows the implementation of very fast searches with online update.
|
||||||
Partitioning can be done at the database level using table inheritance,
|
Partitioning can be done at the database level using table inheritance,
|
||||||
or by distributing documents over
|
or by distributing documents over
|
||||||
servers and collecting search results using the <filename>contrib/dblink</>
|
servers and collecting search results using the <xref linkend="dblink">
|
||||||
extension module. The latter is possible because ranking functions use
|
module. The latter is possible because ranking functions use
|
||||||
only local information.
|
only local information.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -3616,8 +3614,9 @@ Parser: "pg_catalog.default"
|
|||||||
<title>Migration from Pre-8.3 Text Search</title>
|
<title>Migration from Pre-8.3 Text Search</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Applications that used the <filename>contrib/tsearch2</> add-on module
|
Applications that use the <xref linkend="tsearch2">
|
||||||
for text searching will need some adjustments to work with the
|
module for text searching will need some adjustments to work
|
||||||
|
with the
|
||||||
built-in features:
|
built-in features:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -3628,7 +3627,7 @@ Parser: "pg_catalog.default"
|
|||||||
argument lists, and all of them are now in the <literal>pg_catalog</>
|
argument lists, and all of them are now in the <literal>pg_catalog</>
|
||||||
schema, whereas in a previous installation they would have been in
|
schema, whereas in a previous installation they would have been in
|
||||||
<literal>public</> or another non-system schema. There is a new
|
<literal>public</> or another non-system schema. There is a new
|
||||||
version of <filename>contrib/tsearch2</> (see <xref linkend="tsearch2">)
|
version of <application>tsearch2</>
|
||||||
that provides a compatibility layer to solve most problems in this
|
that provides a compatibility layer to solve most problems in this
|
||||||
area.
|
area.
|
||||||
</para>
|
</para>
|
||||||
@ -3636,11 +3635,11 @@ Parser: "pg_catalog.default"
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The old <filename>contrib/tsearch2</> functions and other objects
|
The old <application>tsearch2</> functions and other objects
|
||||||
<emphasis>must</> be suppressed when loading <application>pg_dump</>
|
<emphasis>must</> be suppressed when loading <application>pg_dump</>
|
||||||
output from a pre-8.3 database. While many of them won't load anyway,
|
output from a pre-8.3 database. While many of them won't load anyway,
|
||||||
a few will and then cause problems. One simple way to deal with this
|
a few will and then cause problems. One simple way to deal with this
|
||||||
is to load the new <filename>contrib/tsearch2</> module before restoring
|
is to load the new <application>tsearch2</> module before restoring
|
||||||
the dump; then it will block the old objects from being loaded.
|
the dump; then it will block the old objects from being loaded.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -832,7 +832,7 @@ DELETE 2
|
|||||||
<para>
|
<para>
|
||||||
There are more complex examples in
|
There are more complex examples in
|
||||||
<filename>src/test/regress/regress.c</filename> and
|
<filename>src/test/regress/regress.c</filename> and
|
||||||
in <filename>contrib/spi</filename>.
|
in <xref linkend="contrib-spi">.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
</indexterm>
|
</indexterm>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <literal>tsearch2</literal> module provides backwards-compatible
|
The <application>tsearch2</> module provides backwards-compatible
|
||||||
text search functionality for applications that used
|
text search functionality for applications that used
|
||||||
<filename>contrib/tsearch2</> before text searching was integrated
|
<application>tsearch2</> before text searching was integrated
|
||||||
into core <productname>PostgreSQL</productname> in release 8.3.
|
into core <productname>PostgreSQL</productname> in release 8.3.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Although the built-in text search features were based on
|
Although the built-in text search features were based on
|
||||||
<filename>contrib/tsearch2</> and are largely similar to it,
|
<application>tsearch2</> and are largely similar to it,
|
||||||
there are numerous small differences that will create portability
|
there are numerous small differences that will create portability
|
||||||
issues for existing applications:
|
issues for existing applications:
|
||||||
</para>
|
</para>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
<para>
|
<para>
|
||||||
The built-in text search data types and functions all exist within
|
The built-in text search data types and functions all exist within
|
||||||
the system schema <literal>pg_catalog</>. In an installation using
|
the system schema <literal>pg_catalog</>. In an installation using
|
||||||
<filename>contrib/tsearch2</>, these objects would usually have been in
|
<application>tsearch2</>, these objects would usually have been in
|
||||||
the <literal>public</> schema, though some users chose to place them
|
the <literal>public</> schema, though some users chose to place them
|
||||||
in a separate schema of their own. Explicitly schema-qualified
|
in a separate schema of their own. Explicitly schema-qualified
|
||||||
references to the objects will therefore fail in either case.
|
references to the objects will therefore fail in either case.
|
||||||
@ -86,7 +86,7 @@
|
|||||||
<para>
|
<para>
|
||||||
Text search configuration information has been moved into core
|
Text search configuration information has been moved into core
|
||||||
system catalogs that are noticeably different from the tables used
|
system catalogs that are noticeably different from the tables used
|
||||||
by <filename>contrib/tsearch2</>. Any applications that examined
|
by <application>tsearch2</>. Any applications that examined
|
||||||
or modified those tables will need adjustment.
|
or modified those tables will need adjustment.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
catalogs using the new text search configuration SQL commands.
|
catalogs using the new text search configuration SQL commands.
|
||||||
The replacement <literal>tsearch2</literal> module offers a little
|
The replacement <literal>tsearch2</literal> module offers a little
|
||||||
bit of support for this by making it possible to load an old set
|
bit of support for this by making it possible to load an old set
|
||||||
of <filename>contrib/tsearch2</> configuration tables into
|
of <application>tsearch2</> configuration tables into
|
||||||
<productname>PostgreSQL</productname> 8.3. (Without the module,
|
<productname>PostgreSQL</productname> 8.3. (Without the module,
|
||||||
it is not possible to load the configuration data because values in the
|
it is not possible to load the configuration data because values in the
|
||||||
<type>regprocedure</> columns cannot be resolved to functions.)
|
<type>regprocedure</> columns cannot be resolved to functions.)
|
||||||
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
The recommended way to update a pre-8.3 installation that uses
|
The recommended way to update a pre-8.3 installation that uses
|
||||||
<filename>contrib/tsearch2</> is:
|
<application>tsearch2</> is:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<procedure>
|
<procedure>
|
||||||
@ -150,7 +150,7 @@
|
|||||||
the replacement <literal>tsearch2</literal> module into each
|
the replacement <literal>tsearch2</literal> module into each
|
||||||
database that will use text search. This must be done
|
database that will use text search. This must be done
|
||||||
<emphasis>before</> loading the dump data! If your old installation
|
<emphasis>before</> loading the dump data! If your old installation
|
||||||
had the <filename>contrib/tsearch2</> objects in a schema other
|
had the <application>tsearch2</> objects in a schema other
|
||||||
than <literal>public</>, be sure to adjust the
|
than <literal>public</>, be sure to adjust the
|
||||||
<literal>tsearch2</literal> installation script so that the replacement
|
<literal>tsearch2</literal> installation script so that the replacement
|
||||||
objects are created in that same schema.
|
objects are created in that same schema.
|
||||||
@ -160,7 +160,7 @@
|
|||||||
<step>
|
<step>
|
||||||
<para>
|
<para>
|
||||||
Load the dump data. There will be quite a few errors reported
|
Load the dump data. There will be quite a few errors reported
|
||||||
due to failure to recreate the original <filename>contrib/tsearch2</>
|
due to failure to recreate the original <application>tsearch2</>
|
||||||
objects. These errors can be ignored, but this means you cannot
|
objects. These errors can be ignored, but this means you cannot
|
||||||
restore the dump in a single transaction (eg, you cannot use
|
restore the dump in a single transaction (eg, you cannot use
|
||||||
<application>pg_restore</>'s <literal>-1</> switch).
|
<application>pg_restore</>'s <literal>-1</> switch).
|
||||||
@ -169,7 +169,7 @@
|
|||||||
|
|
||||||
<step>
|
<step>
|
||||||
<para>
|
<para>
|
||||||
Examine the contents of the restored <filename>contrib/tsearch2</>
|
Examine the contents of the restored <application>tsearch2</>
|
||||||
configuration tables (<structname>pg_ts_cfg</> and so on), and
|
configuration tables (<structname>pg_ts_cfg</> and so on), and
|
||||||
create equivalent built-in text search configurations as needed.
|
create equivalent built-in text search configurations as needed.
|
||||||
You may drop the old configuration tables once you've extracted
|
You may drop the old configuration tables once you've extracted
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you use this, you may also be interested in the <function>lo_manage</>
|
If you use this, you may also be interested in the <function>lo_manage</>
|
||||||
trigger in <filename>contrib/lo</> (see <xref linkend="lo">).
|
trigger in the <xref linkend="lo"> module.
|
||||||
<function>lo_manage</> is useful to try
|
<function>lo_manage</> is useful to try
|
||||||
to avoid creating orphaned LOs in the first place.
|
to avoid creating orphaned LOs in the first place.
|
||||||
</para>
|
</para>
|
||||||
|
@ -129,8 +129,8 @@
|
|||||||
file systems behave suboptimally when combined with battery-backup unit
|
file systems behave suboptimally when combined with battery-backup unit
|
||||||
(<acronym>BBU</>) disk controllers. In such setups, the synchronize
|
(<acronym>BBU</>) disk controllers. In such setups, the synchronize
|
||||||
command forces all data from the controller cache to the disks,
|
command forces all data from the controller cache to the disks,
|
||||||
eliminating much of the benefit of the BBU. You can run the utility
|
eliminating much of the benefit of the BBU. You can run the
|
||||||
<filename>contrib/pg_test_fsync</> in the PostgreSQL source tree to see
|
<xref linkend="pgtestfsync"> module to see
|
||||||
if you are affected. If you are affected, the performance benefits
|
if you are affected. If you are affected, the performance benefits
|
||||||
of the BBU can be regained by turning off write barriers in
|
of the BBU can be regained by turning off write barriers in
|
||||||
the file system or reconfiguring the disk controller, if that is
|
the file system or reconfiguring the disk controller, if that is
|
||||||
@ -571,8 +571,8 @@
|
|||||||
the exception of <literal>fsync_writethrough</>, which can sometimes
|
the exception of <literal>fsync_writethrough</>, which can sometimes
|
||||||
force a flush of the disk cache even when other options do not do so.
|
force a flush of the disk cache even when other options do not do so.
|
||||||
However, it's quite platform-specific which one will be the fastest;
|
However, it's quite platform-specific which one will be the fastest;
|
||||||
you can test option speeds using the utility <filename>contrib/pg_test_fsync</>
|
you can test option speeds using the <xref
|
||||||
in the PostgreSQL source tree.
|
linkend="pgtestfsync"> module.
|
||||||
Note that this parameter is irrelevant if <varname>fsync</varname>
|
Note that this parameter is irrelevant if <varname>fsync</varname>
|
||||||
has been turned off.
|
has been turned off.
|
||||||
</para>
|
</para>
|
||||||
|
@ -3231,8 +3231,9 @@ CREATE OR REPLACE FUNCTION retcomposite(IN integer, IN integer,
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The directory <filename>contrib/tablefunc</> in the source
|
The directory <link linkend="tablefunc">contrib/tablefunc</>
|
||||||
distribution contains more examples of set-returning functions.
|
module in the source distribution contains more examples of
|
||||||
|
set-returning functions.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user