Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf25e0bf

Browse files
committed
Small message fixes
1 parent3dad73e commitf25e0bf

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@ check_locale_name(int category, const char *locale, char **canonname)
25482548
save=setlocale(category,NULL);
25492549
if (!save)
25502550
{
2551-
fprintf(stderr,_("%s: setlocale failed\n"),
2551+
fprintf(stderr,_("%s: setlocale() failed\n"),
25522552
progname);
25532553
exit(1);
25542554
}

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,13 +1123,13 @@ update_tablespace_symlink(Oid oid, const char *old_dir)
11231123

11241124
if (unlink(linkloc)!=0&&errno!=ENOENT)
11251125
{
1126-
fprintf(stderr,_("%s: could not remove symbolic link \"%s\": %s"),
1126+
fprintf(stderr,_("%s: could not remove symbolic link \"%s\": %s\n"),
11271127
progname,linkloc,strerror(errno));
11281128
disconnect_and_exit(1);
11291129
}
11301130
if (symlink(new_dir,linkloc)!=0)
11311131
{
1132-
fprintf(stderr,_("%s: could not create symbolic link \"%s\": %s"),
1132+
fprintf(stderr,_("%s: could not create symbolic link \"%s\": %s\n"),
11331133
progname,linkloc,strerror(errno));
11341134
disconnect_and_exit(1);
11351135
}

‎src/bin/pg_dump/pg_backup_tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ _tarAddFile(ArchiveHandle *AH, TAR_MEMBER *th)
10831083
fseeko(tmp,0,SEEK_END);
10841084
th->fileLen=ftello(tmp);
10851085
if (th->fileLen<0)
1086-
exit_horribly(modulename,"could not determine seek position in file: %s\n",
1086+
exit_horribly(modulename,"could not determine seek position inarchivefile: %s\n",
10871087
strerror(errno));
10881088
fseeko(tmp,0,SEEK_SET);
10891089

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ main(int argc, char **argv)
582582
}
583583

584584
if (if_exists&& !outputClean)
585-
exit_horribly(NULL,"option --if-exists requires -c/--clean option\n");
585+
exit_horribly(NULL,"option --if-exists requiresoption-c/--clean\n");
586586

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

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ main(int argc, char *argv[])
338338

339339
if (if_exists&& !output_clean)
340340
{
341-
fprintf(stderr,_("%s: option --if-exists requires -c/--clean option\n"),
341+
fprintf(stderr,_("%s: option --if-exists requiresoption-c/--clean\n"),
342342
progname);
343343
exit_nicely(1);
344344
}

‎src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ main(int argc, char **argv)
340340

341341
if (if_exists&& !opts->dropSchema)
342342
{
343-
fprintf(stderr,_("%s: option --if-exists requires -c/--clean option\n"),
343+
fprintf(stderr,_("%s: option --if-exists requiresoption-c/--clean\n"),
344344
progname);
345345
exit_nicely(1);
346346
}

‎src/bin/pg_resetxlog/pg_resetxlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ PrintNewControlValues()
683683

684684
if (set_xid_epoch!=-1)
685685
{
686-
printf(_("NextXIDEpoch: %u\n"),
686+
printf(_("NextXIDepoch: %u\n"),
687687
ControlFile.checkPointCopy.nextXidEpoch);
688688
}
689689
}

‎src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ printPsetInfo(const char *param, struct printQueryOpt *popt)
25092509
if (popt->topt.default_footer)
25102510
printf(_("Default footer (%s) is on.\n"),param);
25112511
else
2512-
printf(_("Default footer (%s) is off."),param);
2512+
printf(_("Default footer (%s) is off.\n"),param);
25132513
}
25142514

25152515
/* show format */

‎src/common/username.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ get_user_name(char **errstr)
4242
pw=getpwuid(user_id);
4343
if (!pw)
4444
{
45-
*errstr=psprintf(_("failed to look up effective userid %ld: %s"),
45+
*errstr=psprintf(_("could not look up effective userID %ld: %s"),
4646
(long)user_id,
4747
errno ?strerror(errno) :_("user does not exist"));
4848
returnNULL;

‎src/pl/plpgsql/src/pl_handler.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ _PG_init(void)
153153
NULL,NULL,NULL);
154154

155155
DefineCustomBoolVariable("plpgsql.print_strict_params",
156-
gettext_noop("Print information about parameters in the DETAIL part of the error messages generated on INTO .. STRICT failures."),
156+
gettext_noop("Print information about parameters in the DETAIL part of the error messages generated on INTO ... STRICT failures."),
157157
NULL,
158158
&plpgsql_print_strict_params,
159159
false,
160160
PGC_USERSET,0,
161161
NULL,NULL,NULL);
162162

163163
DefineCustomStringVariable("plpgsql.extra_warnings",
164-
gettext_noop("List of programming constructswhich should produce a warning."),
164+
gettext_noop("List of programming constructsthat should produce a warning."),
165165
NULL,
166166
&plpgsql_extra_warnings_string,
167167
"none",
@@ -171,7 +171,7 @@ _PG_init(void)
171171
NULL);
172172

173173
DefineCustomStringVariable("plpgsql.extra_errors",
174-
gettext_noop("List of programming constructswhich should produce an error."),
174+
gettext_noop("List of programming constructsthat should produce an error."),
175175
NULL,
176176
&plpgsql_extra_errors_string,
177177
"none",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp