diff options
author | David Rowley <drowley@postgresql.org> | 2023-04-11 18:52:17 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-04-11 18:52:17 +1200 |
commit | d866f0374ca688937b905fbebfcc2c5f8dc88b54 (patch) | |
tree | 71eb491838c25c2715ee2b00e81fea10e47e7efd /doc | |
parent | 26e65ebdb295fc88988655dbbf30c9fd020e2e07 (diff) | |
download | postgresql-d866f0374ca688937b905fbebfcc2c5f8dc88b54.tar.gz |
Doc: use "an SQL" consistently rather than "a SQL"
Similarly to what was done in 04539e73f and 7bdd489d3, we standardized on
SQL being pronounced "es-que-ell" rather than "sequel" in our
documentation.
This fixes the instances of "a SQL" that have crept in during the v16
cycle.
Discussion: https://postgr.es/m/CAApHDvpML27UqFXnrYO1MJddsKVMQoiZisPvsAGhKE_tsKXquw%40mail.gmail.com
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index a76cf3538f..f52165165d 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1506,7 +1506,7 @@ EXEC SQL TYPE serial_t IS long; </para> <para> - Any word you declare as a typedef cannot be used as a SQL keyword + Any word you declare as a typedef cannot be used as an SQL keyword in <literal>EXEC SQL</literal> commands later in the same program. For example, this won't work: <programlisting> @@ -1518,7 +1518,7 @@ EXEC SQL START TRANSACTION; </programlisting> ECPG will report a syntax error for <literal>START TRANSACTION</literal>, because it no longer - recognizes <literal>START</literal> as a SQL keyword, + recognizes <literal>START</literal> as an SQL keyword, only as a typedef. (If you have such a conflict, and renaming the typedef seems impractical, you could write the SQL command @@ -1530,7 +1530,7 @@ EXEC SQL START TRANSACTION; In <productname>PostgreSQL</productname> releases before v16, use of SQL keywords as typedef names was likely to result in syntax errors associated with use of the typedef itself, rather than use - of the name as a SQL keyword. The new behavior is less likely to + of the name as an SQL keyword. The new behavior is less likely to cause problems when an existing ECPG application is recompiled in a new <productname>PostgreSQL</productname> release with new keywords. |