diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/sgml/datatype.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/func/func-formatting.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/func/func-info.sgml | 10 | ||||
-rw-r--r-- | doc/src/sgml/func/func-matching.sgml | 18 | ||||
-rw-r--r-- | doc/src/sgml/storage.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/stylesheet-fo.xsl | 35 | ||||
-rw-r--r-- | doc/src/sgml/xfunc.sgml | 3 |
7 files changed, 58 insertions, 22 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 7458f216e50..b81d89e2608 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -2054,8 +2054,6 @@ MINUTE TO SECOND <table id="datatype-datetime-time-table"> <title>Time Input</title> <tgroup cols="2"> - <colspec colname="col1" colwidth="3*"/> - <colspec colname="col2" colwidth="2*"/> <thead> <row> <entry>Example</entry> @@ -5245,8 +5243,8 @@ WHERE ... <table id="datatype-pseudotypes-table"> <title>Pseudo-Types</title> <tgroup cols="2"> - <colspec colname="col1" colwidth="2*"/> - <colspec colname="col2" colwidth="3*"/> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="2*"/> <thead> <row> <entry>Name</entry> diff --git a/doc/src/sgml/func/func-formatting.sgml b/doc/src/sgml/func/func-formatting.sgml index 806302b2f7b..df05e5c1676 100644 --- a/doc/src/sgml/func/func-formatting.sgml +++ b/doc/src/sgml/func/func-formatting.sgml @@ -180,6 +180,8 @@ <table id="functions-formatting-datetime-table"> <title>Template Patterns for Date/Time Formatting</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Pattern</entry> @@ -773,6 +775,8 @@ <table id="functions-formatting-numeric-table"> <title>Template Patterns for Numeric Formatting</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Pattern</entry> diff --git a/doc/src/sgml/func/func-info.sgml b/doc/src/sgml/func/func-info.sgml index b507bfaf64b..c393832d94c 100644 --- a/doc/src/sgml/func/func-info.sgml +++ b/doc/src/sgml/func/func-info.sgml @@ -2192,6 +2192,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); <table id="functions-info-index-column-props"> <title>Index Column Properties</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row><entry>Name</entry><entry>Description</entry></row> </thead> @@ -2251,6 +2253,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); <table id="functions-info-index-props"> <title>Index Properties</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row><entry>Name</entry><entry>Description</entry></row> </thead> @@ -2284,6 +2288,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); <table id="functions-info-indexam-props"> <title>Index Access Method Properties</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row><entry>Name</entry><entry>Description</entry></row> </thead> @@ -2323,6 +2329,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); <table id="functions-pg-settings-flags"> <title>GUC Flags</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row><entry>Flag</entry><entry>Description</entry></row> </thead> @@ -2992,6 +3000,8 @@ acl | {postgres=arwdDxtm/postgres,foo=r/postgres} <table id="functions-pg-snapshot-parts"> <title>Snapshot Components</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Name</entry> diff --git a/doc/src/sgml/func/func-matching.sgml b/doc/src/sgml/func/func-matching.sgml index 7d44e2a27bc..ebe0b22c8f6 100644 --- a/doc/src/sgml/func/func-matching.sgml +++ b/doc/src/sgml/func/func-matching.sgml @@ -1084,6 +1084,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Atoms</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Atom</entry> @@ -1166,6 +1168,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Quantifiers</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Quantifier</entry> @@ -1270,6 +1274,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Constraints</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Constraint</entry> @@ -1508,6 +1514,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Character-Entry Escapes</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Escape</entry> @@ -1649,7 +1657,9 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Class-Shorthand Escapes</title> <tgroup cols="2"> - <thead> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> + <thead> <row> <entry>Escape</entry> <entry>Description</entry> @@ -1708,6 +1718,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Constraint Escapes</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Escape</entry> @@ -1764,6 +1776,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>Regular Expression Back References</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Escape</entry> @@ -1845,6 +1859,8 @@ regexp_substr('ABCDEFGHI', '(c..)(...)', 1, 1, 'i', 2) <title>ARE Embedded-Option Letters</title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="3*"/> <thead> <row> <entry>Option</entry> diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 61250799ec0..02ddfda834a 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -39,6 +39,8 @@ these required items, the cluster configuration files <table tocentry="1" id="pgdata-contents-table"> <title>Contents of <varname>PGDATA</varname></title> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="2*"/> <thead> <row> <entry> @@ -743,6 +745,8 @@ There are five parts to each page. <title>Overall Page Layout</title> <titleabbrev>Page Layout</titleabbrev> <tgroup cols="2"> + <colspec colname="col1" colwidth="1*"/> + <colspec colname="col2" colwidth="2*"/> <thead> <row> <entry> diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index e7916a6a883..aec6de7064a 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -14,24 +14,11 @@ <xsl:param name="tablecolumns.extension" select="0"></xsl:param> <xsl:param name="toc.max.depth">3</xsl:param> <xsl:param name="ulink.footnotes" select="1"></xsl:param> - -<!-- The release notes have too many ulinks to look good as footnotes in print mode --> -<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]"> - <!-- Do nothing for ulink to avoid footnotes --> -</xsl:template> - -<!-- -Suppress the description of the commit link markers in print mode. -Use "node()" to keep the paragraph but remove all content; prevents -an "Unresolved ID reference found" warning during PDF builds. ---> -<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()"> - <!-- Output an empty para --> -</xsl:template> - <xsl:param name="use.extensions" select="1"></xsl:param> <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> <xsl:param name="orderedlist.label.width">1.5em</xsl:param> +<xsl:param name="body.start.indent">0</xsl:param> +<xsl:param name="body.end.indent">0</xsl:param> <xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"> @@ -42,6 +29,8 @@ an "Unresolved ID reference found" warning during PDF builds. <xsl:attribute name="border-style">solid</xsl:attribute> <xsl:attribute name="border-width">1pt</xsl:attribute> <xsl:attribute name="border-color">black</xsl:attribute> + <xsl:attribute name="margin-left">0.25in</xsl:attribute> + <xsl:attribute name="margin-right">0.25in</xsl:attribute> <xsl:attribute name="padding-start">12pt</xsl:attribute> <xsl:attribute name="padding-end">12pt</xsl:attribute> <xsl:attribute name="padding-top">6pt</xsl:attribute> @@ -415,5 +404,21 @@ an "Unresolved ID reference found" warning during PDF builds. </xsl:template> +<!-- special release notes formatting --> + +<!-- The release notes have too many ulinks to look good as footnotes in print mode --> +<xsl:template match="sect1[starts-with(@id, 'release-')]//ulink[starts-with(@url, 'https://postgr.es/c/')]"> + <!-- Do nothing for ulink to avoid footnotes --> +</xsl:template> + +<!-- +Suppress the description of the commit link markers in print mode. +Use "node()" to keep the paragraph but remove all content; prevents +an "Unresolved ID reference found" warning during PDF builds. +--> +<xsl:template match="appendix[@id='release']//para[@id='release-commit-links']//node()"> + <!-- Output an empty para --> +</xsl:template> + </xsl:stylesheet> diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml index 30219f432d9..f116d0648e5 100644 --- a/doc/src/sgml/xfunc.sgml +++ b/doc/src/sgml/xfunc.sgml @@ -2051,8 +2051,7 @@ PG_MODULE_MAGIC_EXT( </para> <para> - By-value types can only be 1, 2, or 4 bytes in length - (also 8 bytes, if <literal>sizeof(Datum)</literal> is 8 on your machine). + By-value types can only be 1, 2, 4, or 8 bytes in length. You should be careful to define your types such that they will be the same size (in bytes) on all architectures. For example, the <literal>long</literal> type is dangerous because it is 4 bytes on some |