Skip to content

Commit 82785ef

Browse files
committed
Correct some uses of e.g. and i.e. in message strings and documentation
E.g. means "for example" and i.e. means "that is". Fix a couple uses that don't match the intended meaning. Kyotaro Horiguchi Reviewed by Junwang Zhao and Aleksander Alekseev, with one addition by me Discussion: https://www.postgresql.org/message-id/flat/20220713.180943.589079824955875739.horikyota.ntt%40gmail.com
1 parent 6203583 commit 82785ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8312,7 +8312,7 @@ EXEC SQL CLOSE DATABASE;
83128312
<term><literal>FREE cursor_name</literal></term>
83138313
<listitem>
83148314
<para>
8315-
Due to the differences how ECPG works compared to Informix's ESQL/C (i.e., which steps
8315+
Due to differences in how ECPG works compared to Informix's ESQL/C (namely, which steps
83168316
are purely grammar transformations and which steps rely on the underlying run-time library)
83178317
there is no <literal>FREE cursor_name</literal> statement in ECPG. This is because in ECPG,
83188318
<literal>DECLARE CURSOR</literal> doesn't translate to a function call into

src/bin/pg_upgrade/check.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ create_script_for_old_cluster_deletion(char **deletion_script_file_name)
540540
if (path_is_prefix_of_path(old_cluster_pgdata, new_cluster_pgdata))
541541
{
542542
pg_log(PG_WARNING,
543-
"\nWARNING: new data directory should not be inside the old data directory, e.g. %s", old_cluster_pgdata);
543+
"\nWARNING: new data directory should not be inside the old data directory, i.e. %s", old_cluster_pgdata);
544544

545545
/* Unlink file in case it is left over from a previous run. */
546546
unlink(*deletion_script_file_name);
@@ -564,7 +564,7 @@ create_script_for_old_cluster_deletion(char **deletion_script_file_name)
564564
{
565565
/* reproduce warning from CREATE TABLESPACE that is in the log */
566566
pg_log(PG_WARNING,
567-
"\nWARNING: user-defined tablespace locations should not be inside the data directory, e.g. %s", old_tablespace_dir);
567+
"\nWARNING: user-defined tablespace locations should not be inside the data directory, i.e. %s", old_tablespace_dir);
568568

569569
/* Unlink file in case it is left over from a previous run. */
570570
unlink(*deletion_script_file_name);

0 commit comments

Comments
 (0)