Skip to content

Commit 8957234

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 This is a backpatch of 82785ef to v15
1 parent eac3e00 commit 8957234

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
@@ -8276,7 +8276,7 @@ EXEC SQL CLOSE DATABASE;
82768276
<term><literal>FREE cursor_name</literal></term>
82778277
<listitem>
82788278
<para>
8279-
Due to the differences how ECPG works compared to Informix's ESQL/C (i.e., which steps
8279+
Due to differences in how ECPG works compared to Informix's ESQL/C (namely, which steps
82808280
are purely grammar transformations and which steps rely on the underlying run-time library)
82818281
there is no <literal>FREE cursor_name</literal> statement in ECPG. This is because in ECPG,
82828282
<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\n", old_cluster_pgdata);
543+
"\nWARNING: new data directory should not be inside the old data directory, i.e. %s\n", 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\n", old_tablespace_dir);
567+
"\nWARNING: user-defined tablespace locations should not be inside the data directory, i.e. %s\n", 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy