Skip to content

Commit 1b29e99

Browse files
committed
Add missing serial commas
1 parent c74d49d commit 1b29e99

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/backend/catalog/pg_proc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ ProcedureCreate(const char *procedureName,
425425
: errmsg("cannot change return type of existing function"),
426426

427427
/*
428-
* translator: first %s is DROP FUNCTION, DROP PROCEDURE or DROP
428+
* translator: first %s is DROP FUNCTION, DROP PROCEDURE, or DROP
429429
* AGGREGATE
430430
*/
431431
errhint("Use %s %s first.",

src/bin/pg_checksums/pg_checksums.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static pg_time_t last_progress_report = 0;
7272
static void
7373
usage(void)
7474
{
75-
printf(_("%s enables, disables or verifies data checksums in a PostgreSQL database cluster.\n\n"), progname);
75+
printf(_("%s enables, disables, or verifies data checksums in a PostgreSQL database cluster.\n\n"), progname);
7676
printf(_("Usage:\n"));
7777
printf(_(" %s [OPTION]... [DATADIR]\n"), progname);
7878
printf(_("\nOptions:\n"));

src/bin/pg_dump/pg_dump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ main(int argc, char **argv)
662662
* --rows-per-insert were specified.
663663
*/
664664
if (dopt.do_nothing && dopt.dump_inserts == 0)
665-
fatal("option --on-conflict-do-nothing requires option --inserts, --rows-per-insert or --column-inserts");
665+
fatal("option --on-conflict-do-nothing requires option --inserts, --rows-per-insert, or --column-inserts");
666666

667667
/* Identify archive format to emit */
668668
archiveFormat = parseArchiveFormat(format, &archiveMode);

src/bin/pg_dump/pg_dumpall.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ main(int argc, char *argv[])
354354
if (database_exclude_patterns.head != NULL &&
355355
(globals_only || roles_only || tablespaces_only))
356356
{
357-
pg_log_error("option --exclude-database cannot be used together with -g/--globals-only, -r/--roles-only or -t/--tablespaces-only");
357+
pg_log_error("option --exclude-database cannot be used together with -g/--globals-only, -r/--roles-only, or -t/--tablespaces-only");
358358
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
359359
progname);
360360
exit_nicely(1);

src/bin/pg_dump/t/001_basic.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124
command_fails_like(
125125
[ 'pg_dump', '--on-conflict-do-nothing' ],
126-
qr/pg_dump: error: option --on-conflict-do-nothing requires option --inserts, --rows-per-insert or --column-inserts/,
126+
qr/pg_dump: error: option --on-conflict-do-nothing requires option --inserts, --rows-per-insert, or --column-inserts/,
127127
'pg_dump: --on-conflict-do-nothing requires --inserts, --rows-per-insert, --column-inserts'
128128
);
129129

0 commit comments

Comments
 (0)