Now that our /contrib documentation is in our SGML manual, I want to
update our docs to link to the actual contrib module documentation,
rather than just referencing contrib/module_name. We used to have to do
that when we only had READMEs, but now we can do better.
Patch attached, and I have a github branch of this too:
https://github.com/bmomjian/postgres/compare/master...contrib_links
--
Bruce Momjian http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index f994eac..2d053ee 100644
*** /tmp/pgdiff.21665/EgdqAa_datatype.sgml Mon Jan 24 15:04:28 2011
--- /tmp/pgdiff.21665/GzEpPa_datatype.sgml Mon Jan 24 15:04:28 2011
*** a0ee-bc99-9c0b-4ef8-bb6d-6bb9-bd38-0a11
*** 3917,3925
PostgreSQL provides storage and comparison
functions for UUIDs, but the core database does not include any
function for generating UUIDs, because no single algorithm is well
! suited for every application. The contrib module
! contrib/uuid-ossp provides functions that implement
! several standard algorithms.
Alternatively, UUIDs could be generated by client applications or
other libraries invoked through a server-side function.
--- 3917,3925
PostgreSQL provides storage and comparison
functions for UUIDs, but the core database does not include any
function for generating UUIDs, because no single algorithm is well
! suited for every application. The module
! uuid-ossp
! provides functions that implement several standard algorithms.
Alternatively, UUIDs could be generated by client applications or
other libraries invoked through a server-side function.
diff --git a/doc/src/sgml/diskusage.sgml b/doc/src/sgml/diskusage.sgml
index 0f390f3..006a98f 100644
*** /tmp/pgdiff.21665/4PWjMc_diskusage.sgml Mon Jan 24 15:04:28 2011
--- /tmp/pgdiff.21665/s8xDFc_diskusage.sgml Mon Jan 24 15:04:28 2011
***
*** 31,40
You can monitor disk space in three ways:
using the SQL functions listed in ,
!using the tools in contrib/oid2name, or
using manual inspection of the system catalogs.
The SQL functions are the easiest to use and are generally recommended.
-contrib/oid2name is described in .
The remainder of this section shows how to do it by inspection of the
system catalogs.
--- 31,39
You can monitor disk space in three ways:
using the SQL functions listed in ,
!using the oid2name module, or
using manual inspection of the system catalogs.
The SQL functions are the easiest to use and are generally recommended.
The remainder of this section shows how to do it by inspection of the
system catalogs.
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index d884122..c672266 100644
*** /tmp/pgdiff.21665/Y2ePnb_high-availability.sgml Mon Jan 24 15:04:28 2011
--- /tmp/pgdiff.21665/e9NdPb_high-availability.sgml Mon Jan 24 15:04:28 2011
*** primary_conninfo = 'host=192.168.1.50 po
*** 967,973
This was the only option available in versions 8.4 and below. In this
setup, set standby_mode off, because you are implementing
the polling required for standby operation yourself. See
! contrib/pg_standby () for a reference
implementation of this.
--- 967,973
This was the only option available in versions 8.4 and below. In this
setup, set standby_mode off, because you are implementing
the polling required for standby operation yourself. See
! pg_standby for a reference
implementation of this.
*** if (!triggered)
*** 1027,1033
A working example of a waiting restore_command is provided
! as a contrib module named pg_standby. It
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
configurations and environments.
--- 1027,1033
A working example of a waiting restore_command is provided
! in pg_standby. It
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
configurations and environments.
*** if (!triggered)
*** 1542,1548
primary server and keep a query active for as long as needed to
run queries on the standby. This prevents VACUUM from removing
recently-dead rows and so cleanup conflicts do not occur.
! This could be done using contrib/dblink and
pg_sleep(), or via other mechanisms. If you do this, you
should note that this will delay cleanup of dead rows on the primary,
which may result in undesirable table bloat. However, the