mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Use the correct article for abbreviations
We've accumulated quite a mix of instances of "an SQL" and "a SQL" in the documents. It would be good to be a bit more consistent with these. The most recent version of the SQL standard I looked at seems to prefer "an SQL". That seems like a good lead to follow, so here we change all instances of "a SQL" to become "an SQL". Most instances correctly use "an SQL" already, so it also makes sense to use the dominant variation in order to minimise churn. Additionally, there were some other abbreviations that needed to be adjusted. FSM, SSPI, SRF and a few others. Also fix some pronounceable, abbreviations to use "a" instead of "an". For example, "a SASL" instead of "an SASL". Here I've only adjusted the documents and error messages. Many others still exist in source code comments. Translator hint comments seem to be the biggest culprit. It currently does not seem worth the churn to change these. Discussion: https://postgr.es/m/CAApHDvpML27UqFXnrYO1MJddsKVMQoiZisPvsAGhKE_tsKXquw%40mail.gmail.com
This commit is contained in:
@@ -198,13 +198,13 @@ row1 val11 val12 val13 ...
|
||||
row2 val21 val22 val23 ...
|
||||
...
|
||||
</programlisting>
|
||||
The <function>crosstab</function> function takes a text parameter that is a SQL
|
||||
The <function>crosstab</function> function takes a text parameter that is an SQL
|
||||
query producing raw data formatted in the first way, and produces a table
|
||||
formatted in the second way.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The <parameter>sql</parameter> parameter is a SQL statement that produces
|
||||
The <parameter>sql</parameter> parameter is an SQL statement that produces
|
||||
the source set of data. This statement must return one
|
||||
<structfield>row_name</structfield> column, one
|
||||
<structfield>category</structfield> column, and one
|
||||
@@ -459,7 +459,7 @@ crosstab(text source_sql, text category_sql)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>source_sql</parameter> is a SQL statement that produces the
|
||||
<parameter>source_sql</parameter> is an SQL statement that produces the
|
||||
source set of data. This statement must return one
|
||||
<structfield>row_name</structfield> column, one
|
||||
<structfield>category</structfield> column, and one
|
||||
@@ -493,7 +493,7 @@ SELECT row_name, extra_col, cat, value FROM foo ORDER BY 1;
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>category_sql</parameter> is a SQL statement that produces
|
||||
<parameter>category_sql</parameter> is an SQL statement that produces
|
||||
the set of categories. This statement must return only one column.
|
||||
It must produce at least one row, or an error will be generated.
|
||||
Also, it must not produce duplicate values, or an error will be
|
||||
|
Reference in New Issue
Block a user