postgres.git / summary / log / commit / refs
commit 4a319fce7671ffbe2a730f79529b7a2ef3794d41
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Wed Aug 17 08:05:03 2022 +0000
First released in: 16.0
doc: Consistently spell case-insensitive
While almost all occurrences of "case-insensitive{ly}" were spelled with
a dash, a few were using "case insensitive{ly}" with a space instead. Fix
by changing these to use a dash to be consistent.
Discussion: https://postgr.es/m/7657EDEE-5EE2-4AAB-BA95-47B4F71653E1@yesql.se
doc/src/sgml/func.sgml | 4 ++--
doc/src/sgml/query.sgml | 2 +-
doc/src/sgml/syntax.sgml | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 053d4dc650b..8dd63c04556 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -5604,7 +5604,7 @@ substring('foobar' similar '#"o_b#"%' escape '#') <lineannotation>NULL</linea
<returnvalue>boolean</returnvalue>
</para>
<para>
- String matches regular expression, case insensitively
+ String matches regular expression, case-insensitively
</para>
<para>
<literal>'thomas' ~* 'T.*ma'</literal>
@@ -5632,7 +5632,7 @@ substring('foobar' similar '#"o_b#"%' escape '#') <lineannotation>NULL</linea
<returnvalue>boolean</returnvalue>
</para>
<para>
- String does not match regular expression, case insensitively
+ String does not match regular expression, case-insensitively
</para>
<para>
<literal>'thomas' !~* 'T.*ma'</literal>
diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml
index 71d644f4323..6f31a5a1d62 100644
--- a/doc/src/sgml/query.sgml
+++ b/doc/src/sgml/query.sgml
@@ -134,7 +134,7 @@ CREATE TABLE weather (
differently than above, or even all on one line. Two dashes
(<quote><literal>--</literal></quote>) introduce comments.
Whatever follows them is ignored up to the end of the line. SQL
- is case insensitive about key words and identifiers, except
+ is case-insensitive about key words and identifiers, except
when identifiers are double-quoted to preserve the case (not done
above).
</para>
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index a99c24373e4..93ad71737f5 100644
--- a/doc/src/sgml/syntax.sgml
+++ b/doc/src/sgml/syntax.sgml
@@ -144,7 +144,7 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there');
<primary>case sensitivity</primary>
<secondary>of SQL commands</secondary>
</indexterm>
- Key words and unquoted identifiers are case insensitive. Therefore:
+ Key words and unquoted identifiers are case-insensitive. Therefore:
<programlisting>
UPDATE MY_TABLE SET A = 5;
</programlisting>
[parent: 3e7d94fca0e5]