Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a3b681f0
Commit
a3b681f0
authored
May 04, 2011
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link some tables into the surrounding text by their id
parent
04be7ac2
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
137 additions
and
102 deletions
+137
-102
doc/src/sgml/earthdistance.sgml
doc/src/sgml/earthdistance.sgml
+4
-2
doc/src/sgml/hstore.sgml
doc/src/sgml/hstore.sgml
+6
-0
doc/src/sgml/intarray.sgml
doc/src/sgml/intarray.sgml
+6
-0
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+95
-87
doc/src/sgml/ltree.sgml
doc/src/sgml/ltree.sgml
+3
-3
doc/src/sgml/monitoring.sgml
doc/src/sgml/monitoring.sgml
+4
-3
doc/src/sgml/pgtrgm.sgml
doc/src/sgml/pgtrgm.sgml
+6
-0
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+12
-6
doc/src/sgml/textsearch.sgml
doc/src/sgml/textsearch.sgml
+1
-1
No files found.
doc/src/sgml/earthdistance.sgml
View file @
a3b681f0
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
</para>
</para>
<para>
<para>
The following functions are provided:
The provided functions are shown
in <xref linkend="earthdistance-cube-functions">.
</para>
</para>
<table id="earthdistance-cube-functions">
<table id="earthdistance-cube-functions">
...
@@ -148,7 +149,8 @@
...
@@ -148,7 +149,8 @@
</para>
</para>
<para>
<para>
A single operator is provided:
A single operator is provided, shown
in <xref linkend="earthdistance-point-operators">.
</para>
</para>
<table id="earthdistance-point-operators">
<table id="earthdistance-point-operators">
...
...
doc/src/sgml/hstore.sgml
View file @
a3b681f0
...
@@ -85,6 +85,12 @@ key => NULL
...
@@ -85,6 +85,12 @@ key => NULL
<sect2>
<sect2>
<title><type>hstore</> Operators and Functions</title>
<title><type>hstore</> Operators and Functions</title>
<para>
The operators provided by the <literal>hstore</literal> module are
shown in <xref linkend="hstore-op-table">, the functions
in <xref linkend="hstore-func-table">.
</para>
<table id="hstore-op-table">
<table id="hstore-op-table">
<title><type>hstore</> Operators</title>
<title><type>hstore</> Operators</title>
...
...
doc/src/sgml/intarray.sgml
View file @
a3b681f0
...
@@ -27,6 +27,12 @@
...
@@ -27,6 +27,12 @@
<sect2>
<sect2>
<title><filename>intarray</> Functions and Operators</title>
<title><filename>intarray</> Functions and Operators</title>
<para>
The functions provided by the <filename>intarray</filename> module
are shown in <xref linkend="intarray-func-table">, the operators
in <xref linkend="intarray-op-table">.
</para>
<table id="intarray-func-table">
<table id="intarray-func-table">
<title><filename>intarray</> Functions</title>
<title><filename>intarray</> Functions</title>
...
...
doc/src/sgml/libpq.sgml
View file @
a3b681f0
...
@@ -385,63 +385,70 @@ PGconn *PQconnectdbParams(const char **keywords, const char **values, int expand
...
@@ -385,63 +385,70 @@ PGconn *PQconnectdbParams(const char **keywords, const char **values, int expand
This option determines whether or with what priority a secure
This option determines whether or with what priority a secure
<acronym>SSL</> TCP/IP connection will be negotiated with the
<acronym>SSL</> TCP/IP connection will be negotiated with the
server. There are six modes:
server. There are six modes:
</para>
<table id="libpq-connect-sslmode-options">
<variablelist>
<title><literal>sslmode</literal> Options</title>
<varlistentry>
<tgroup cols="2">
<term><literal>disable</literal></term>
<thead>
<listitem>
<row>
<para>
<entry>Option</entry>
only try a non-<acronym>SSL</> connection
<entry>Description</entry>
</para>
</row>
</listitem>
</thead>
</varlistentry>
<tbody>
<varlistentry>
<term><literal>allow</literal></term>
<row>
<listitem>
<entry><literal>disable</></entry>
<para>
<entry>only try a non-<acronym>SSL</> connection</entry>
first try a non-<acronym>SSL</> connection; if that
</row>
fails, try an <acronym>SSL</> connection
</para>
<row>
</listitem>
<entry><literal>allow</></entry>
</varlistentry>
<entry>first try a non-<acronym>SSL</>
connection; if that fails, try an <acronym>SSL</>
<varlistentry>
connection</entry>
<term><literal>prefer</literal> (default)</term>
</row>
<listitem>
<para>
<row>
first try an <acronym>SSL</> connection; if that fails,
<entry><literal>prefer</> (default)</entry>
try a non-<acronym>SSL</> connection
<entry>first try an <acronym>SSL</> connection; if
</para>
that fails, try a non-<acronym>SSL</>
</listitem>
connection</entry>
</varlistentry>
</row>
<varlistentry>
<row>
<term><literal>require</literal></term>
<entry><literal>require</></entry>
<listitem>
<entry>only try an <acronym>SSL</> connection</entry>
<para>
</row>
only try an <acronym>SSL</> connection
</para>
<row>
</listitem>
<entry><literal>verify-ca</></entry>
</varlistentry>
<entry>only try an <acronym>SSL</> connection, and verify that
the server certificate is issued by a trusted certificate
<varlistentry>
authority (<acronym>CA</>)</entry>
<term><literal>verify-ca</literal></term>
</row>
<listitem>
<para>
<row>
only try an <acronym>SSL</> connection, and verify that
<entry><literal>verify-full</></entry>
the server certificate is issued by a trusted
<entry>only try an <acronym>SSL</> connection, verify that
certificate authority (<acronym>CA</>)
the server certificate is issued by a trusted <acronym>CA</> and
</para>
that the server host name matches that in the certificate</entry>
</listitem>
</row>
</varlistentry>
</tbody>
<varlistentry>
</tgroup>
<term><literal>verify-full</literal></term>
</table>
<listitem>
<para>
only try an <acronym>SSL</> connection, verify that the
server certificate is issued by a
trusted <acronym>CA</> and that the server host name
matches that in the certificate
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
See <xref linkend="libpq-ssl"> for a detailed description of how
See <xref linkend="libpq-ssl"> for a detailed description of how
these options work.
these options work.
</para>
</para>
...
@@ -6773,30 +6780,23 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
...
@@ -6773,30 +6780,23 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
The different values for the <literal>sslmode</> parameter provide different
The different values for the <literal>sslmode</> parameter provide different
levels of protection. SSL can provide
levels of protection. SSL can provide
protection against three types of attacks:
protection against three types of attacks:
</para>
<table id="libpq-ssl-protect-attacks">
<title>SSL Attacks</title>
<tgroup cols="2">
<thead>
<row>
<entry>Type</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<variablelist>
<row>
<varlistentry>
<entry>Eavesdropping</entry>
<term>Eavesdropping</term>
<entry>If a third party can examine the network traffic between the
<listitem>
<para>If a third party can examine the network traffic between the
client and the server, it can read both connection information (including
client and the server, it can read both connection information (including
the user name and password) and the data that is passed. <acronym>SSL</>
the user name and password) and the data that is passed. <acronym>SSL</>
uses encryption to prevent this.
uses encryption to prevent this.
</entry>
</para>
</row>
</listitem>
</varlistentry>
<row>
<varlistentry>
<entry>Man in the middle (<acronym>MITM</>)</entry>
<term>Man in the middle (<acronym>MITM</>)</term>
<entry>If a third party can modify the data while passing between the
<listitem>
<para>If a third party can modify the data while passing between the
client and server, it can pretend to be the server and therefore see and
client and server, it can pretend to be the server and therefore see and
modify data <emphasis>even if it is encrypted</>. The third party can then
modify data <emphasis>even if it is encrypted</>. The third party can then
forward the connection information and data to the original server,
forward the connection information and data to the original server,
...
@@ -6805,21 +6805,23 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
...
@@ -6805,21 +6805,23 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
to a different server than intended. There are also several other
to a different server than intended. There are also several other
attack methods that can accomplish this. <acronym>SSL</> uses certificate
attack methods that can accomplish this. <acronym>SSL</> uses certificate
verification to prevent this, by authenticating the server to the client.
verification to prevent this, by authenticating the server to the client.
</entry>
</para>
</row>
</listitem>
</varlistentry>
<row>
<varlistentry>
<entry>Impersonation</entry>
<term>Impersonation</term>
<entry>If a third party can pretend to be an authorized client, it can
<listitem>
<para>If a third party can pretend to be an authorized client, it can
simply access data it should not have access to. Typically this can
simply access data it should not have access to. Typically this can
happen through insecure password management. <acronym>SSL</> uses
happen through insecure password management. <acronym>SSL</> uses
client certificates to prevent this, by making sure that only holders
client certificates to prevent this, by making sure that only holders
of valid certificates can access the server.
of valid certificates can access the server.
</
entry
>
</
para
>
</
row
>
</
listitem
>
</
tbod
y>
</
varlistentr
y>
</
tgroup
>
</
variablelist
>
</
table
>
</
para
>
<para>
<para>
For a connection to be known secure, SSL usage must be configured
For a connection to be known secure, SSL usage must be configured
...
@@ -6844,9 +6846,9 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
...
@@ -6844,9 +6846,9 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
<para>
<para>
All <acronym>SSL</> options carry overhead in the form of encryption and
All <acronym>SSL</> options carry overhead in the form of encryption and
key-exchange, so there is a tradeoff that has to be made between performance
key-exchange, so there is a tradeoff that has to be made between performance
and security.
The following table illustrates the risks the different
and security.
<xref linkend="libpq-ssl-sslmode-statements">
<literal>sslmode</> values protect against, and what statement they make
illustrates the risks the different <literal>sslmode</> values
about security and overhead:
protect against, and what statement they make about security and overhead.
</para>
</para>
<table id="libpq-ssl-sslmode-statements">
<table id="libpq-ssl-sslmode-statements">
...
@@ -6942,6 +6944,12 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
...
@@ -6942,6 +6944,12 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
<sect2 id="libpq-ssl-fileusage">
<sect2 id="libpq-ssl-fileusage">
<title>SSL Client File Usage</title>
<title>SSL Client File Usage</title>
<para>
<xref linkend="libpq-ssl-file-usage"> summarizes the files that are
relevant to the SSL setup on the client.
</para>
<table id="libpq-ssl-file-usage">
<table id="libpq-ssl-file-usage">
<title>Libpq/Client SSL File Usage</title>
<title>Libpq/Client SSL File Usage</title>
<tgroup cols="3">
<tgroup cols="3">
...
...
doc/src/sgml/ltree.sgml
View file @
a3b681f0
...
@@ -182,8 +182,8 @@ Europe & Russia*@ & !Transportation
...
@@ -182,8 +182,8 @@ Europe & Russia*@ & !Transportation
<literal>=</>, <literal><></literal>,
<literal>=</>, <literal><></literal>,
<literal><</>, <literal>></>, <literal><=</>, <literal>>=</>.
<literal><</>, <literal>></>, <literal><=</>, <literal>>=</>.
Comparison sorts in the order of a tree traversal, with the children
Comparison sorts in the order of a tree traversal, with the children
of a node sorted by label text. In addition, the
re are the following
of a node sorted by label text. In addition, the
specialized
specialized operators:
operators shown in <xref linkend="ltree-op-table"> are available.
</para>
</para>
<table id="ltree-op-table">
<table id="ltree-op-table">
...
@@ -362,7 +362,7 @@ Europe & Russia*@ & !Transportation
...
@@ -362,7 +362,7 @@ Europe & Russia*@ & !Transportation
</para>
</para>
<para>
<para>
The
following functions are available:
The
available functions are shown in <xref linkend="ltree-func-table">.
</para>
</para>
<table id="ltree-func-table">
<table id="ltree-func-table">
...
...
doc/src/sgml/monitoring.sgml
View file @
a3b681f0
...
@@ -1357,9 +1357,10 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
...
@@ -1357,9 +1357,10 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
<para>
<para>
A number of standard probes are provided in the source code,
A number of standard probes are provided in the source code,
as shown in <xref linkend="dtrace-probe-point-table">.
as shown in <xref linkend="dtrace-probe-point-table">;
More can certainly be added to enhance <productname>PostgreSQL</>'s
<xref linkend="typedefs-table">
observability.
shows the types used in the probes. More probes can certainly be
added to enhance <productname>PostgreSQL</>'s observability.
</para>
</para>
<table id="dtrace-probe-point-table">
<table id="dtrace-probe-point-table">
...
...
doc/src/sgml/pgtrgm.sgml
View file @
a3b681f0
...
@@ -43,6 +43,12 @@
...
@@ -43,6 +43,12 @@
<sect2>
<sect2>
<title>Functions and Operators</title>
<title>Functions and Operators</title>
<para>
The functions provided by the <filename>pg_trgm</filename> module
are shown in <xref linkend="pgtrgm-func-table">, the operators
in <xref linkend="pgtrgm-op-table">.
</para>
<table id="pgtrgm-func-table">
<table id="pgtrgm-func-table">
<title><filename>pg_trgm</filename> Functions</title>
<title><filename>pg_trgm</filename> Functions</title>
<tgroup cols="3">
<tgroup cols="3">
...
...
doc/src/sgml/runtime.sgml
View file @
a3b681f0
...
@@ -2097,12 +2097,11 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
...
@@ -2097,12 +2097,11 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
<sect2 id="ssl-server-files">
<sect2 id="ssl-server-files">
<title>SSL Server File Usage</title>
<title>SSL Server File Usage</title>
<para>
The files <filename>server.key</>, <filename>server.crt</>,
<para>
<filename>root.crt</filename>, and <filename>root.crl</filename>
<xref linkend="ssl-file-usage"> summarizes the files that are
are only examined during server start; so you must restart
relevant to the SSL setup on the server.
the server for changes in them to take effect.
</para>
</para>
<table id="ssl-file-usage">
<table id="ssl-file-usage">
<title>SSL Server File Usage</title>
<title>SSL Server File Usage</title>
...
@@ -2146,6 +2145,13 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
...
@@ -2146,6 +2145,13 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
</tbody>
</tbody>
</tgroup>
</tgroup>
</table>
</table>
<para>
The files <filename>server.key</>, <filename>server.crt</>,
<filename>root.crt</filename>, and <filename>root.crl</filename>
are only examined during server start; so you must restart
the server for changes in them to take effect.
</para>
</sect2>
</sect2>
<sect2 id="ssl-certificate-creation">
<sect2 id="ssl-certificate-creation">
...
...
doc/src/sgml/textsearch.sgml
View file @
a3b681f0
...
@@ -1799,7 +1799,7 @@ LIMIT 10;
...
@@ -1799,7 +1799,7 @@ LIMIT 10;
<para>
<para>
The built-in parser is named <literal>pg_catalog.default</>.
The built-in parser is named <literal>pg_catalog.default</>.
It recognizes 23 token types
:
It recognizes 23 token types
, shown in <xref linkend="textsearch-default-parser">.
</para>
</para>
<table id="textsearch-default-parser">
<table id="textsearch-default-parser">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment