mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
In docs, rename "backwards compatibility" to "backward compatibility"
for consistency.
This commit is contained in:
parent
e3c732a85c
commit
7a8f43968a
@ -646,7 +646,7 @@ SELECT f1[1][-2][3] AS e1, f1[1][-1][5] AS e2
|
|||||||
If the value written for an element is <literal>NULL</> (in any case
|
If the value written for an element is <literal>NULL</> (in any case
|
||||||
variant), the element is taken to be NULL. The presence of any quotes
|
variant), the element is taken to be NULL. The presence of any quotes
|
||||||
or backslashes disables this and allows the literal string value
|
or backslashes disables this and allows the literal string value
|
||||||
<quote>NULL</> to be entered. Also, for backwards compatibility with
|
<quote>NULL</> to be entered. Also, for backward compatibility with
|
||||||
pre-8.2 versions of <productname>PostgreSQL</>, the <xref
|
pre-8.2 versions of <productname>PostgreSQL</>, the <xref
|
||||||
linkend="guc-array-nulls"> configuration parameter can be turned
|
linkend="guc-array-nulls"> configuration parameter can be turned
|
||||||
<literal>off</> to suppress recognition of <literal>NULL</> as a NULL.
|
<literal>off</> to suppress recognition of <literal>NULL</> as a NULL.
|
||||||
|
@ -5357,7 +5357,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
|
|||||||
null values to be entered. However, <productname>PostgreSQL</> versions
|
null values to be entered. However, <productname>PostgreSQL</> versions
|
||||||
before 8.2 did not support null values in arrays, and therefore would
|
before 8.2 did not support null values in arrays, and therefore would
|
||||||
treat <literal>NULL</> as specifying a normal array element with
|
treat <literal>NULL</> as specifying a normal array element with
|
||||||
the string value <quote>NULL</>. For backwards compatibility with
|
the string value <quote>NULL</>. For backward compatibility with
|
||||||
applications that require the old behavior, this variable can be
|
applications that require the old behavior, this variable can be
|
||||||
turned <literal>off</>.
|
turned <literal>off</>.
|
||||||
</para>
|
</para>
|
||||||
|
@ -9695,7 +9695,7 @@ nextval('foo') <lineannotation>searches search path for <literal>fo
|
|||||||
Before <productname>PostgreSQL</productname> 8.1, the arguments of the
|
Before <productname>PostgreSQL</productname> 8.1, the arguments of the
|
||||||
sequence functions were of type <type>text</>, not <type>regclass</>, and
|
sequence functions were of type <type>text</>, not <type>regclass</>, and
|
||||||
the above-described conversion from a text string to an OID value would
|
the above-described conversion from a text string to an OID value would
|
||||||
happen at run time during each call. For backwards compatibility, this
|
happen at run time during each call. For backward compatibility, this
|
||||||
facility still exists, but internally it is now handled as an implicit
|
facility still exists, but internally it is now handled as an implicit
|
||||||
coercion from <type>text</> to <type>regclass</> before the function is
|
coercion from <type>text</> to <type>regclass</> before the function is
|
||||||
invoked.
|
invoked.
|
||||||
|
@ -1313,7 +1313,7 @@ char *PQport(const PGconn *conn);
|
|||||||
Returns the debug <acronym>TTY</acronym> of the connection.
|
Returns the debug <acronym>TTY</acronym> of the connection.
|
||||||
(This is obsolete, since the server no longer pays attention
|
(This is obsolete, since the server no longer pays attention
|
||||||
to the <acronym>TTY</acronym> setting, but the function remains
|
to the <acronym>TTY</acronym> setting, but the function remains
|
||||||
for backwards compatibility.)
|
for backward compatibility.)
|
||||||
|
|
||||||
<synopsis>
|
<synopsis>
|
||||||
char *PQtty(const PGconn *conn);
|
char *PQtty(const PGconn *conn);
|
||||||
@ -6933,7 +6933,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
|
|||||||
The default value for <literal>sslmode</> is <literal>prefer</>. As is shown
|
The default value for <literal>sslmode</> is <literal>prefer</>. As is shown
|
||||||
in the table, this makes no sense from a security point of view, and it only
|
in the table, this makes no sense from a security point of view, and it only
|
||||||
promises performance overhead if possible. It is only provided as the default
|
promises performance overhead if possible. It is only provided as the default
|
||||||
for backwards compatibility, and is not recommended in secure deployments.
|
for backward compatibility, and is not recommended in secure deployments.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -114,7 +114,7 @@ Oid lo_creat(PGconn *conn, int mode);
|
|||||||
|
|
||||||
<replaceable class="parameter">mode</replaceable> is unused and
|
<replaceable class="parameter">mode</replaceable> is unused and
|
||||||
ignored as of <productname>PostgreSQL</productname> 8.1; however, for
|
ignored as of <productname>PostgreSQL</productname> 8.1; however, for
|
||||||
backwards compatibility with earlier releases it is best to
|
backward compatibility with earlier releases it is best to
|
||||||
set it to <symbol>INV_READ</symbol>, <symbol>INV_WRITE</symbol>,
|
set it to <symbol>INV_READ</symbol>, <symbol>INV_WRITE</symbol>,
|
||||||
or <symbol>INV_READ</symbol> <literal>|</> <symbol>INV_WRITE</symbol>.
|
or <symbol>INV_READ</symbol> <literal>|</> <symbol>INV_WRITE</symbol>.
|
||||||
(These symbolic constants are defined
|
(These symbolic constants are defined
|
||||||
|
@ -202,7 +202,7 @@ select returns_array();
|
|||||||
<para>
|
<para>
|
||||||
Perl passes <productname>PostgreSQL</productname> arrays as a blessed
|
Perl passes <productname>PostgreSQL</productname> arrays as a blessed
|
||||||
PostgreSQL::InServer::ARRAY object. This object may be treated as an array
|
PostgreSQL::InServer::ARRAY object. This object may be treated as an array
|
||||||
reference or a string, allowing for backwards compatibility with Perl
|
reference or a string, allowing for backward compatibility with Perl
|
||||||
code written for <productname>PostgreSQL</productname> versions below 9.1 to
|
code written for <productname>PostgreSQL</productname> versions below 9.1 to
|
||||||
run. For example:
|
run. For example:
|
||||||
|
|
||||||
|
@ -384,7 +384,7 @@ RESET ROLE;
|
|||||||
roles being used as SQL roles the <literal>INHERIT</> attribute, while
|
roles being used as SQL roles the <literal>INHERIT</> attribute, while
|
||||||
giving roles being used as SQL users the <literal>NOINHERIT</> attribute.
|
giving roles being used as SQL users the <literal>NOINHERIT</> attribute.
|
||||||
However, <productname>PostgreSQL</productname> defaults to giving all roles
|
However, <productname>PostgreSQL</productname> defaults to giving all roles
|
||||||
the <literal>INHERIT</> attribute, for backwards compatibility with pre-8.1
|
the <literal>INHERIT</> attribute, for backward compatibility with pre-8.1
|
||||||
releases in which users always had use of permissions granted to groups
|
releases in which users always had use of permissions granted to groups
|
||||||
they were members of.
|
they were members of.
|
||||||
</para>
|
</para>
|
||||||
|
@ -1368,7 +1368,7 @@ CREATE FUNCTION test(int, int) RETURNS int
|
|||||||
The <quote>body</quote> of the function definition
|
The <quote>body</quote> of the function definition
|
||||||
specifies the C-language name of the function, which need not be the
|
specifies the C-language name of the function, which need not be the
|
||||||
same as the name being declared for SQL use.
|
same as the name being declared for SQL use.
|
||||||
(For reasons of backwards compatibility, an empty body
|
(For reasons of backward compatibility, an empty body
|
||||||
is accepted as meaning that the C-language function name is the
|
is accepted as meaning that the C-language function name is the
|
||||||
same as the SQL name.)
|
same as the SQL name.)
|
||||||
</para>
|
</para>
|
||||||
@ -2701,7 +2701,7 @@ typedef struct
|
|||||||
/*
|
/*
|
||||||
* OPTIONAL pointer to result slot
|
* OPTIONAL pointer to result slot
|
||||||
*
|
*
|
||||||
* This is obsolete and only present for backwards compatibility, viz,
|
* This is obsolete and only present for backward compatibility, viz,
|
||||||
* user-defined SRFs that use the deprecated TupleDescGetSlot().
|
* user-defined SRFs that use the deprecated TupleDescGetSlot().
|
||||||
*/
|
*/
|
||||||
TupleTableSlot *slot;
|
TupleTableSlot *slot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user