mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Add missing serial commas
This commit is contained in:
parent
c74d49d41c
commit
1b29e990e3
@ -425,7 +425,7 @@ ProcedureCreate(const char *procedureName,
|
|||||||
: errmsg("cannot change return type of existing function"),
|
: errmsg("cannot change return type of existing function"),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* translator: first %s is DROP FUNCTION, DROP PROCEDURE or DROP
|
* translator: first %s is DROP FUNCTION, DROP PROCEDURE, or DROP
|
||||||
* AGGREGATE
|
* AGGREGATE
|
||||||
*/
|
*/
|
||||||
errhint("Use %s %s first.",
|
errhint("Use %s %s first.",
|
||||||
|
@ -72,7 +72,7 @@ static pg_time_t last_progress_report = 0;
|
|||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
printf(_("%s enables, disables or verifies data checksums in a PostgreSQL database cluster.\n\n"), progname);
|
printf(_("%s enables, disables, or verifies data checksums in a PostgreSQL database cluster.\n\n"), progname);
|
||||||
printf(_("Usage:\n"));
|
printf(_("Usage:\n"));
|
||||||
printf(_(" %s [OPTION]... [DATADIR]\n"), progname);
|
printf(_(" %s [OPTION]... [DATADIR]\n"), progname);
|
||||||
printf(_("\nOptions:\n"));
|
printf(_("\nOptions:\n"));
|
||||||
|
@ -662,7 +662,7 @@ main(int argc, char **argv)
|
|||||||
* --rows-per-insert were specified.
|
* --rows-per-insert were specified.
|
||||||
*/
|
*/
|
||||||
if (dopt.do_nothing && dopt.dump_inserts == 0)
|
if (dopt.do_nothing && dopt.dump_inserts == 0)
|
||||||
fatal("option --on-conflict-do-nothing requires option --inserts, --rows-per-insert or --column-inserts");
|
fatal("option --on-conflict-do-nothing requires option --inserts, --rows-per-insert, or --column-inserts");
|
||||||
|
|
||||||
/* Identify archive format to emit */
|
/* Identify archive format to emit */
|
||||||
archiveFormat = parseArchiveFormat(format, &archiveMode);
|
archiveFormat = parseArchiveFormat(format, &archiveMode);
|
||||||
|
@ -354,7 +354,7 @@ main(int argc, char *argv[])
|
|||||||
if (database_exclude_patterns.head != NULL &&
|
if (database_exclude_patterns.head != NULL &&
|
||||||
(globals_only || roles_only || tablespaces_only))
|
(globals_only || roles_only || tablespaces_only))
|
||||||
{
|
{
|
||||||
pg_log_error("option --exclude-database cannot be used together with -g/--globals-only, -r/--roles-only or -t/--tablespaces-only");
|
pg_log_error("option --exclude-database cannot be used together with -g/--globals-only, -r/--roles-only, or -t/--tablespaces-only");
|
||||||
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
|
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
|
||||||
progname);
|
progname);
|
||||||
exit_nicely(1);
|
exit_nicely(1);
|
||||||
|
@ -123,7 +123,7 @@ command_fails_like(
|
|||||||
|
|
||||||
command_fails_like(
|
command_fails_like(
|
||||||
[ 'pg_dump', '--on-conflict-do-nothing' ],
|
[ 'pg_dump', '--on-conflict-do-nothing' ],
|
||||||
qr/pg_dump: error: option --on-conflict-do-nothing requires option --inserts, --rows-per-insert or --column-inserts/,
|
qr/pg_dump: error: option --on-conflict-do-nothing requires option --inserts, --rows-per-insert, or --column-inserts/,
|
||||||
'pg_dump: --on-conflict-do-nothing requires --inserts, --rows-per-insert, --column-inserts'
|
'pg_dump: --on-conflict-do-nothing requires --inserts, --rows-per-insert, --column-inserts'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user