mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
In documentation, use "lower case"/"upper case" consistently (use space
between words).
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/citext.sgml,v 1.3 2010/06/03 03:04:55 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/citext.sgml,v 1.4 2010/06/29 22:29:13 momjian Exp $ -->
|
||||||
|
|
||||||
<sect1 id="citext">
|
<sect1 id="citext">
|
||||||
<title>citext</title>
|
<title>citext</title>
|
||||||
@ -58,8 +58,8 @@
|
|||||||
The <type>citext</> data type allows you to eliminate calls
|
The <type>citext</> data type allows you to eliminate calls
|
||||||
to <function>lower</> in SQL queries, and allows a primary key to
|
to <function>lower</> in SQL queries, and allows a primary key to
|
||||||
be case-insensitive. <type>citext</> is locale-aware, just
|
be case-insensitive. <type>citext</> is locale-aware, just
|
||||||
like <type>text</>, which means that the comparison of uppercase and
|
like <type>text</>, which means that the comparison of upper case and
|
||||||
lowercase characters is dependent on the rules of
|
lower case characters is dependent on the rules of
|
||||||
the <literal>LC_CTYPE</> locale setting. Again, this behavior is
|
the <literal>LC_CTYPE</> locale setting. Again, this behavior is
|
||||||
identical to the use of <function>lower</> in queries. But because it's
|
identical to the use of <function>lower</> in queries. But because it's
|
||||||
done transparently by the datatype, you don't have to remember to do
|
done transparently by the datatype, you don't have to remember to do
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.138 2010/05/26 23:49:18 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.139 2010/06/29 22:29:13 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="client-authentication">
|
<chapter id="client-authentication">
|
||||||
<title>Client Authentication</title>
|
<title>Client Authentication</title>
|
||||||
@ -994,7 +994,7 @@ omicron bryanh guest1
|
|||||||
on the same host.
|
on the same host.
|
||||||
Some Kerberos implementations might also require a different service name,
|
Some Kerberos implementations might also require a different service name,
|
||||||
such as Microsoft Active Directory which requires the service name
|
such as Microsoft Active Directory which requires the service name
|
||||||
to be in uppercase (<literal>POSTGRES</literal>).
|
to be in upper case (<literal>POSTGRES</literal>).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.286 2010/06/29 22:23:02 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.287 2010/06/29 22:29:13 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter Id="runtime-config">
|
<chapter Id="runtime-config">
|
||||||
<title>Server Configuration</title>
|
<title>Server Configuration</title>
|
||||||
@ -1015,7 +1015,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
<literal>mylib.so</> (or on some platforms,
|
<literal>mylib.so</> (or on some platforms,
|
||||||
<literal>mylib.sl</>) to be preloaded from the installation's
|
<literal>mylib.sl</>) to be preloaded from the installation's
|
||||||
standard library directory.
|
standard library directory.
|
||||||
All library names are converted to lowercase unless double-quoted.
|
All library names are converted to lower case unless double-quoted.
|
||||||
If more than one library is to be loaded, separate their names
|
If more than one library is to be loaded, separate their names
|
||||||
with commas. This parameter can only be set at server start.
|
with commas. This parameter can only be set at server start.
|
||||||
</para>
|
</para>
|
||||||
@ -4840,7 +4840,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
|
|||||||
This variable specifies one or more shared libraries that are
|
This variable specifies one or more shared libraries that are
|
||||||
to be preloaded at connection start. If more than one library
|
to be preloaded at connection start. If more than one library
|
||||||
is to be loaded, separate their names with commas. All library
|
is to be loaded, separate their names with commas. All library
|
||||||
names are converted to lowercase unless double-quoted.
|
names are converted to lower case unless double-quoted.
|
||||||
This parameter cannot be changed after the start of a particular
|
This parameter cannot be changed after the start of a particular
|
||||||
session.
|
session.
|
||||||
</para>
|
</para>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.519 2010/06/17 01:32:09 rhaas Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.520 2010/06/29 22:29:13 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="functions">
|
<chapter id="functions">
|
||||||
<title>Functions and Operators</title>
|
<title>Functions and Operators</title>
|
||||||
@ -1227,7 +1227,7 @@
|
|||||||
<row>
|
<row>
|
||||||
<entry><literal><function>upper</function>(<parameter>string</parameter>)</literal></entry>
|
<entry><literal><function>upper</function>(<parameter>string</parameter>)</literal></entry>
|
||||||
<entry><type>text</type></entry>
|
<entry><type>text</type></entry>
|
||||||
<entry>Convert string to uppercase</entry>
|
<entry>Convert string to upper case</entry>
|
||||||
<entry><literal>upper('tom')</literal></entry>
|
<entry><literal>upper('tom')</literal></entry>
|
||||||
<entry><literal>TOM</literal></entry>
|
<entry><literal>TOM</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
@ -1457,8 +1457,8 @@
|
|||||||
<entry><literal><function>initcap</function>(<parameter>string</parameter>)</literal></entry>
|
<entry><literal><function>initcap</function>(<parameter>string</parameter>)</literal></entry>
|
||||||
<entry><type>text</type></entry>
|
<entry><type>text</type></entry>
|
||||||
<entry>
|
<entry>
|
||||||
Convert the first letter of each word to uppercase and the
|
Convert the first letter of each word to upper case and the
|
||||||
rest to lowercase. Words are sequences of alphanumeric
|
rest to lower case. Words are sequences of alphanumeric
|
||||||
characters separated by non-alphanumeric characters.
|
characters separated by non-alphanumeric characters.
|
||||||
</entry>
|
</entry>
|
||||||
<entry><literal>initcap('hi THOMAS')</literal></entry>
|
<entry><literal>initcap('hi THOMAS')</literal></entry>
|
||||||
@ -5014,7 +5014,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>MONTH</literal></entry>
|
<entry><literal>MONTH</literal></entry>
|
||||||
<entry>full uppercase month name (blank-padded to 9 chars)</entry>
|
<entry>full upper case month name (blank-padded to 9 chars)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>Month</literal></entry>
|
<entry><literal>Month</literal></entry>
|
||||||
@ -5022,11 +5022,11 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>month</literal></entry>
|
<entry><literal>month</literal></entry>
|
||||||
<entry>full lowercase month name (blank-padded to 9 chars)</entry>
|
<entry>full lower case month name (blank-padded to 9 chars)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>MON</literal></entry>
|
<entry><literal>MON</literal></entry>
|
||||||
<entry>abbreviated uppercase month name (3 chars in English, localized lengths vary)</entry>
|
<entry>abbreviated upper case month name (3 chars in English, localized lengths vary)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>Mon</literal></entry>
|
<entry><literal>Mon</literal></entry>
|
||||||
@ -5034,7 +5034,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>mon</literal></entry>
|
<entry><literal>mon</literal></entry>
|
||||||
<entry>abbreviated lowercase month name (3 chars in English, localized lengths vary)</entry>
|
<entry>abbreviated lower case month name (3 chars in English, localized lengths vary)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>MM</literal></entry>
|
<entry><literal>MM</literal></entry>
|
||||||
@ -5042,7 +5042,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>DAY</literal></entry>
|
<entry><literal>DAY</literal></entry>
|
||||||
<entry>full uppercase day name (blank-padded to 9 chars)</entry>
|
<entry>full upper case day name (blank-padded to 9 chars)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>Day</literal></entry>
|
<entry><literal>Day</literal></entry>
|
||||||
@ -5050,11 +5050,11 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>day</literal></entry>
|
<entry><literal>day</literal></entry>
|
||||||
<entry>full lowercase day name (blank-padded to 9 chars)</entry>
|
<entry>full lower case day name (blank-padded to 9 chars)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>DY</literal></entry>
|
<entry><literal>DY</literal></entry>
|
||||||
<entry>abbreviated uppercase day name (3 chars in English, localized lengths vary)</entry>
|
<entry>abbreviated upper case day name (3 chars in English, localized lengths vary)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>Dy</literal></entry>
|
<entry><literal>Dy</literal></entry>
|
||||||
@ -5062,7 +5062,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>dy</literal></entry>
|
<entry><literal>dy</literal></entry>
|
||||||
<entry>abbreviated lowercase day name (3 chars in English, localized lengths vary)</entry>
|
<entry>abbreviated lower case day name (3 chars in English, localized lengths vary)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>DDD</literal></entry>
|
<entry><literal>DDD</literal></entry>
|
||||||
@ -5110,19 +5110,19 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>RM</literal></entry>
|
<entry><literal>RM</literal></entry>
|
||||||
<entry>month in uppercase Roman numerals (I-XII; I=January)</entry>
|
<entry>month in upper case Roman numerals (I-XII; I=January)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>rm</literal></entry>
|
<entry><literal>rm</literal></entry>
|
||||||
<entry>month in lowercase Roman numerals (i-xii; i=January)</entry>
|
<entry>month in lower case Roman numerals (i-xii; i=January)</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>TZ</literal></entry>
|
<entry><literal>TZ</literal></entry>
|
||||||
<entry>uppercase time-zone name</entry>
|
<entry>upper case time-zone name</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>tz</literal></entry>
|
<entry><literal>tz</literal></entry>
|
||||||
<entry>lowercase time-zone name</entry>
|
<entry>lower case time-zone name</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@ -5155,12 +5155,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>TH</literal> suffix</entry>
|
<entry><literal>TH</literal> suffix</entry>
|
||||||
<entry>uppercase ordinal number suffix</entry>
|
<entry>upper case ordinal number suffix</entry>
|
||||||
<entry><literal>DDTH</literal>, e.g., <literal>12TH</></entry>
|
<entry><literal>DDTH</literal>, e.g., <literal>12TH</></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>th</literal> suffix</entry>
|
<entry><literal>th</literal> suffix</entry>
|
||||||
<entry>lowercase ordinal number suffix</entry>
|
<entry>lower case ordinal number suffix</entry>
|
||||||
<entry><literal>DDth</literal>, e.g., <literal>12th</></entry>
|
<entry><literal>DDth</literal>, e.g., <literal>12th</></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@ -5521,12 +5521,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>TH</literal> suffix</entry>
|
<entry><literal>TH</literal> suffix</entry>
|
||||||
<entry>uppercase ordinal number suffix</entry>
|
<entry>upper case ordinal number suffix</entry>
|
||||||
<entry><literal>999TH</literal></entry>
|
<entry><literal>999TH</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>th</literal> suffix</entry>
|
<entry><literal>th</literal> suffix</entry>
|
||||||
<entry>lowercase ordinal number suffix</entry>
|
<entry>lower case ordinal number suffix</entry>
|
||||||
<entry><literal>999th</literal></entry>
|
<entry><literal>999th</literal></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -8959,7 +8959,7 @@ table2-mapping
|
|||||||
converter will do the work for you. Just write the sequence name enclosed
|
converter will do the work for you. Just write the sequence name enclosed
|
||||||
in single quotes so that it looks like a literal constant. For
|
in single quotes so that it looks like a literal constant. For
|
||||||
compatibility with the handling of ordinary
|
compatibility with the handling of ordinary
|
||||||
<acronym>SQL</acronym> names, the string will be converted to lowercase
|
<acronym>SQL</acronym> names, the string will be converted to lower case
|
||||||
unless it contains double quotes around the sequence name. Thus:
|
unless it contains double quotes around the sequence name. Thus:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
nextval('foo') <lineannotation>operates on sequence <literal>foo</literal></>
|
nextval('foo') <lineannotation>operates on sequence <literal>foo</literal></>
|
||||||
@ -12612,7 +12612,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
|
|||||||
with the column. The first input parameter is a table name with
|
with the column. The first input parameter is a table name with
|
||||||
optional schema, and the second parameter is a column name. Because
|
optional schema, and the second parameter is a column name. Because
|
||||||
the first parameter is potentially a schema and table, it is not treated
|
the first parameter is potentially a schema and table, it is not treated
|
||||||
as a double-quoted identifier, meaning it is lowercased by default,
|
as a double-quoted identifier, meaning it is lower cased by default,
|
||||||
while the second parameter, being just a column name, is treated as
|
while the second parameter, being just a column name, is treated as
|
||||||
double-quoted and has its case preserved. The function returns a value
|
double-quoted and has its case preserved. The function returns a value
|
||||||
suitably formatted for passing to sequence functions (see <xref
|
suitably formatted for passing to sequence functions (see <xref
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.346 2010/06/25 16:55:49 rhaas Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.347 2010/06/29 22:29:13 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="installation">
|
<chapter id="installation">
|
||||||
<title><![%standalone-include[<productname>PostgreSQL</>]]>
|
<title><![%standalone-include[<productname>PostgreSQL</>]]>
|
||||||
@ -912,7 +912,7 @@ su - postgres
|
|||||||
by GSSAPI).
|
by GSSAPI).
|
||||||
<literal>postgres</literal> is the default. There's usually no
|
<literal>postgres</literal> is the default. There's usually no
|
||||||
reason to change this unless you have a Windows environment,
|
reason to change this unless you have a Windows environment,
|
||||||
in which case it must be set to uppercase
|
in which case it must be set to upper case
|
||||||
<literal>POSTGRES</literal>.
|
<literal>POSTGRES</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.310 2010/06/25 17:08:09 rhaas Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.311 2010/06/29 22:29:14 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="libpq">
|
<chapter id="libpq">
|
||||||
<title><application>libpq</application> - C Library</title>
|
<title><application>libpq</application> - C Library</title>
|
||||||
@ -3157,7 +3157,7 @@ typedef struct {
|
|||||||
This is useful when a user-supplied identifier might contain
|
This is useful when a user-supplied identifier might contain
|
||||||
special characters that would otherwise not be interpreted as part
|
special characters that would otherwise not be interpreted as part
|
||||||
of the identifier by the SQL parser, or when the identifier might
|
of the identifier by the SQL parser, or when the identifier might
|
||||||
contain uppercase characters whose case should be preserved.
|
contain upper case characters whose case should be preserved.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgcrypto.sgml,v 1.8 2009/12/08 20:08:30 mha Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgcrypto.sgml,v 1.9 2010/06/29 22:29:14 momjian Exp $ -->
|
||||||
|
|
||||||
<sect1 id="pgcrypto">
|
<sect1 id="pgcrypto">
|
||||||
<title>pgcrypto</title>
|
<title>pgcrypto</title>
|
||||||
@ -267,7 +267,7 @@
|
|||||||
of different hashing algorithms.
|
of different hashing algorithms.
|
||||||
The table shows how much time it would take to try all
|
The table shows how much time it would take to try all
|
||||||
combinations of characters in an 8-character password, assuming
|
combinations of characters in an 8-character password, assuming
|
||||||
that the password contains either only lowercase letters, or
|
that the password contains either only lower case letters, or
|
||||||
upper- and lower-case letters and numbers.
|
upper- and lower-case letters and numbers.
|
||||||
In the <literal>crypt-bf</literal> entries, the number after a slash is
|
In the <literal>crypt-bf</literal> entries, the number after a slash is
|
||||||
the <parameter>iter_count</parameter> parameter of
|
the <parameter>iter_count</parameter> parameter of
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.153 2010/04/27 14:32:40 alvherre Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.154 2010/06/29 22:29:14 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter id="plpgsql">
|
<chapter id="plpgsql">
|
||||||
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
|
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
|
||||||
@ -219,7 +219,7 @@ END <optional> <replaceable>label</replaceable> </optional>;
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
All key words are case-insensitive.
|
All key words are case-insensitive.
|
||||||
Identifiers are implicitly converted to lowercase
|
Identifiers are implicitly converted to lower case
|
||||||
unless double-quoted, just as they are in ordinary SQL commands.
|
unless double-quoted, just as they are in ordinary SQL commands.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user