diff options
author | Daniel Gustafsson | 2022-09-08 07:56:50 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2022-09-08 07:56:50 +0000 |
commit | cb62d0b3c372350b997733f41283cc35a6814024 (patch) | |
tree | 33bca00b90f4d61cb1ad605bb674138f35234705 | |
parent | b289b86231ad10fb317231ff85596d6272203916 (diff) |
doc: Fix PL/pgSQL casing to be consistent
Ensure that all mentions of PL/pgSQL is cased equally, a few instances
of PL/PgSQL had snuck in.
Reviewed-by: Pavel Stehule <[email protected]>
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index cf387dfc3f..d85f89bf30 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -5278,13 +5278,13 @@ a_output := a_output || $$ if v_$$ || referrer_keys.kind || $$ like '$$ <term><varname>strict_multi_assignment</varname></term> <listitem> <para> - Some <application>PL/PgSQL</application> commands allow assigning + Some <application>PL/pgSQL</application> commands allow assigning values to more than one variable at a time, such as <command>SELECT INTO</command>. Typically, the number of target variables and the number of source variables should match, though - <application>PL/PgSQL</application> will use <literal>NULL</literal> + <application>PL/pgSQL</application> will use <literal>NULL</literal> for missing values and extra variables are ignored. Enabling this - check will cause <application>PL/PgSQL</application> to throw a + check will cause <application>PL/pgSQL</application> to throw a <literal>WARNING</literal> or <literal>ERROR</literal> whenever the number of target variables and the number of source variables are different. @@ -5296,7 +5296,7 @@ a_output := a_output || $$ if v_$$ || referrer_keys.kind || $$ like '$$ <term><varname>too_many_rows</varname></term> <listitem> <para> - Enabling this check will cause <application>PL/PgSQL</application> to + Enabling this check will cause <application>PL/pgSQL</application> to check if a given query returns more than one row when an <literal>INTO</literal> clause is used. As an <literal>INTO</literal> statement will only ever use one row, having a query return multiple |