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
This commit is contained in:
Daniel Gustafsson 2022-08-17 10:05:03 +02:00
parent 3e7d94fca0
commit 4a319fce76
3 changed files with 4 additions and 4 deletions

View File

@ -5604,7 +5604,7 @@ substring('foobar' similar '#"o_b#"%' escape '#') <lineannotation>NULL</linea
<returnvalue>boolean</returnvalue> <returnvalue>boolean</returnvalue>
</para> </para>
<para> <para>
String matches regular expression, case insensitively String matches regular expression, case-insensitively
</para> </para>
<para> <para>
<literal>'thomas' ~* 'T.*ma'</literal> <literal>'thomas' ~* 'T.*ma'</literal>
@ -5632,7 +5632,7 @@ substring('foobar' similar '#"o_b#"%' escape '#') <lineannotation>NULL</linea
<returnvalue>boolean</returnvalue> <returnvalue>boolean</returnvalue>
</para> </para>
<para> <para>
String does not match regular expression, case insensitively String does not match regular expression, case-insensitively
</para> </para>
<para> <para>
<literal>'thomas' !~* 'T.*ma'</literal> <literal>'thomas' !~* 'T.*ma'</literal>

View File

@ -134,7 +134,7 @@ CREATE TABLE weather (
differently than above, or even all on one line. Two dashes differently than above, or even all on one line. Two dashes
(<quote><literal>--</literal></quote>) introduce comments. (<quote><literal>--</literal></quote>) introduce comments.
Whatever follows them is ignored up to the end of the line. SQL 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 when identifiers are double-quoted to preserve the case (not done
above). above).
</para> </para>

View File

@ -144,7 +144,7 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there');
<primary>case sensitivity</primary> <primary>case sensitivity</primary>
<secondary>of SQL commands</secondary> <secondary>of SQL commands</secondary>
</indexterm> </indexterm>
Key words and unquoted identifiers are case insensitive. Therefore: Key words and unquoted identifiers are case-insensitive. Therefore:
<programlisting> <programlisting>
UPDATE MY_TABLE SET A = 5; UPDATE MY_TABLE SET A = 5;
</programlisting> </programlisting>