Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 159e3d8

Browse files
committed
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.
1 parent e84730a commit 159e3d8

19 files changed

+57
-59
lines changed

doc/src/sgml/contrib-spi.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</indexterm>
1010

1111
<para>
12-
The <filename>contrib/spi</> module provides several workable examples
12+
The <application>spi</> module provides several workable examples
1313
of using SPI and triggers. While these functions are of some value in
1414
their own right, they are even more useful as examples to modify for
1515
your own purposes. The functions are general enough to be used

doc/src/sgml/datatype.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3917,9 +3917,9 @@ a0ee-bc99-9c0b-4ef8-bb6d-6bb9-bd38-0a11
39173917
<productname>PostgreSQL</productname> provides storage and comparison
39183918
functions for UUIDs, but the core database does not include any
39193919
function for generating UUIDs, because no single algorithm is well
3920-
suited for every application. The contrib module
3921-
<filename>contrib/uuid-ossp</filename> provides functions that implement
3922-
several standard algorithms.
3920+
suited for every application. The <xref
3921+
linkend="uuid-ossp"> module
3922+
provides functions that implement several standard algorithms.
39233923
Alternatively, UUIDs could be generated by client applications or
39243924
other libraries invoked through a server-side function.
39253925
</para>

doc/src/sgml/dblink.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ SELECT dblink_disconnect('myconn');
303303
</refsect1>
304304
</refentry>
305305

306-
<refentry id="CONTRIB-DBLINK">
306+
<refentry id="CONTRIB-DBLINK-FUNCTION">
307307
<refmeta>
308308
<refentrytitle>dblink</refentrytitle>
309309
<manvolnum>3</manvolnum>

doc/src/sgml/diskusage.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@
3131
<para>
3232
You can monitor disk space in three ways:
3333
using the SQL functions listed in <xref linkend="functions-admin-dbsize">,
34-
using the tools in <filename>contrib/oid2name</>, or
34+
using the <xref linkend="oid2name"> module, or
3535
using manual inspection of the system catalogs.
3636
The SQL functions are the easiest to use and are generally recommended.
37-
<filename>contrib/oid2name</> is described in <xref linkend="oid2name">.
3837
The remainder of this section shows how to do it by inspection of the
3938
system catalogs.
4039
</para>

doc/src/sgml/high-availability.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
966966
sections is to use a <varname>restore_command</> that polls the archive location.
967967
This was the only option available in versions 8.4 and below. In this
968968
setup, set <varname>standby_mode</> off, because you are implementing
969-
the polling required for standby operation yourself. See
970-
contrib/pg_standby (<xref linkend="pgstandby">) for a reference
969+
the polling required for standby operation yourself. See the
970+
<xref linkend="pgstandby"> module for a reference
971971
implementation of this.
972972
</para>
973973

@@ -1027,7 +1027,7 @@ if (!triggered)
10271027

10281028
<para>
10291029
A working example of a waiting <varname>restore_command</> is provided
1030-
as a <filename>contrib</> module named <application>pg_standby</>. It
1030+
in the <xref linkend="pgstandby"> module. It
10311031
should be used as a reference on how to correctly implement the logic
10321032
described above. It can also be extended as needed to support specific
10331033
configurations and environments.
@@ -1542,7 +1542,7 @@ if (!triggered)
15421542
primary server and keep a query active for as long as needed to
15431543
run queries on the standby. This prevents <command>VACUUM</> from removing
15441544
recently-dead rows and so cleanup conflicts do not occur.
1545-
This could be done using <filename>contrib/dblink</> and
1545+
This could be done using <xref linkend="dblink"> and
15461546
<function>pg_sleep()</>, or via other mechanisms. If you do this, you
15471547
should note that this will delay cleanup of dead rows on the primary,
15481548
which may result in undesirable table bloat. However, the cleanup

doc/src/sgml/installation.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,8 @@ su - postgres
10071007
<listitem>
10081008
<para>
10091009
Use the <ulink url="http://www.ossp.org/pkg/lib/uuid/">OSSP UUID
1010-
library</ulink> when building <filename>contrib/uuid-ossp</>.
1011-
The library provides functions to generate
1010+
library</ulink> when building the <xref linkend="uuid-ossp">
1011+
module. The library provides functions to generate
10121012
UUIDs.<indexterm><primary>UUID</primary></indexterm>
10131013
</para>
10141014
</listitem>
@@ -1041,9 +1041,9 @@ su - postgres
10411041
<term><option>--with-libxslt</option></term>
10421042
<listitem>
10431043
<para>
1044-
Use libxslt when building <filename>contrib/xml2</>.
1045-
<filename>contrib/xml2</> relies on this library to perform
1046-
XSL transformations of XML.
1044+
Use libxslt when building the <xref linkend="xml2">
1045+
module. <application>xml2</> relies on this library
1046+
to perform XSL transformations of XML.
10471047
</para>
10481048
</listitem>
10491049
</varlistentry>

doc/src/sgml/lo.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ CREATE TRIGGER t_raster BEFORE UPDATE OR DELETE ON image
9999

100100
<para>
101101
If you already have, or suspect you have, orphaned large objects, see the
102-
<filename>contrib/vacuumlo</> module (<xref linkend="vacuumlo">) to help
102+
<xref linkend="vacuumlo"> module to help
103103
you clean them up. It's a good idea to run <application>vacuumlo</>
104104
occasionally as a back-stop to the <function>lo_manage</> trigger.
105105
</para>

doc/src/sgml/queries.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,9 @@ SELECT *
686686
AS t1(proname name, prosrc text)
687687
WHERE proname LIKE 'bytea%';
688688
</programlisting>
689-
The <literal>dblink</> function executes a remote query (see
690-
<filename>contrib/dblink</>). It is declared to return
689+
The <xref linkend="CONTRIB-DBLINK-FUNCTION"> function
690+
(part of the <xref linkend="dblink"> module>) executes
691+
a remote query. It is declared to return
691692
<type>record</> since it might be used for any kind of query.
692693
The actual column set must be specified in the calling query so
693694
that the parser knows, for example, what <literal>*</> should

doc/src/sgml/recovery-config.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
9292
may be safely removed.
9393
This information can be used to truncate the archive to just the
9494
minimum required to support restart from the current restore.
95-
The <application>pg_archivecleanup</> utility provided in
96-
<literal>contrib</> (see <xref linkend="pgarchivecleanup">) serves as a
97-
convenient target for <varname>archive_cleanup_command</> in typical
95+
The <xref linkend="pgarchivecleanup"> module
96+
is often used in <varname>archive_cleanup_command</> for
9897
single-standby configurations, for example:
9998
<programlisting> archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r' </programlisting>
10099
Note however that if multiple standby servers are restoring from the

doc/src/sgml/ref/create_opclass.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ CREATE OPERATOR CLASS <replaceable class="parameter">name</replaceable> [ DEFAUL
276276

277277
<para>
278278
The following example command defines a GiST index operator class
279-
for the data type <literal>_int4</> (array of <type>int4</type>). See
280-
<filename>contrib/intarray/</> for the complete example.
279+
for the data type <literal>_int4</> (array of <type>int4</type>). See the
280+
<xref linkend="intarray"> module for the complete example.
281281
</para>
282282

283283
<programlisting>

0 commit comments

Comments
 (0)