We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parente8d029a commit5d0109bCopy full SHA for 5d0109b
src/bin/initdb/initdb.c
@@ -2493,7 +2493,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo)
2493
processInfo))
2494
2495
{
2496
-fprintf(stderr,_("%s: could not start process for \"%s\": error code %lu\n"),progname,cmd,GetLastError());
+fprintf(stderr,_("%s: could not start process forcommand\"%s\": error code %lu\n"),progname,cmd,GetLastError());
2497
return0;
2498
}
2499
@@ -2838,7 +2838,7 @@ main(int argc, char *argv[])
2838
2839
if (!CreateRestrictedProcess(cmdline,&pi))
2840
2841
-fprintf(stderr,_("%s: could not re-exec with restricted token: error code %lu\n"),progname,GetLastError());
+fprintf(stderr,_("%s: could not re-execute with restricted token: error code %lu\n"),progname,GetLastError());
2842
2843
else
2844
src/bin/pg_ctl/pg_ctl.c
@@ -1926,7 +1926,7 @@ adjust_data_dir(void)
1926
fd=popen(cmd,"r");
1927
if (fd==NULL||fgets(filename,sizeof(filename),fd)==NULL)
1928
1929
-write_stderr(_("%s:cannot findthe data directory using %s\n"),progname,my_exec_path);
+write_stderr(_("%s:could not determinethe data directory using\"%s\"\n"),progname,cmd);
1930
exit(1);
1931
1932
pclose(fd);
src/bin/pg_dump/compress_io.c
@@ -110,7 +110,7 @@ ParseCompressionOption(int compression, CompressionAlgorithm *alg, int *level)
110
*alg=COMPR_ALG_NONE;
111
112
113
-exit_horribly(modulename,"Invalid compression code: %d\n",
+exit_horribly(modulename,"invalid compression code: %d\n",
114
compression);
115
*alg=COMPR_ALG_NONE;/* keep compiler quiet */
116
src/bin/pg_dump/dumputils.c
@@ -1260,7 +1260,7 @@ set_dump_section(const char *arg, int *dumpSections)
1260
*dumpSections |=DUMP_POST_DATA;
1261
1262
1263
-fprintf(stderr,_("%s:unknown section name \"%s\")\n"),
+fprintf(stderr,_("%s:unrecognized section name: \"%s\"\n"),
1264
progname,arg);
1265
fprintf(stderr,_("Try \"%s --help\" for more information.\n"),
1266
progname);
src/bin/pg_dump/pg_backup_directory.c
@@ -407,8 +407,8 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt)
407
charpath[MAXPGPATH];
408
409
if (sscanf(line,"%u %s\n",&oid,fname)!=2)
410
-exit_horribly(modulename,"invalid line in large object TOC file: %s\n",
411
-line);
+exit_horribly(modulename,"invalid line in large object TOC file \"%s\": \"%s\"\n",
+fname,line);
412
413
StartRestoreBlob(AH,oid,ropt->dropSchema);
414
snprintf(path,MAXPGPATH,"%s/%s",ctx->directory,fname);
@@ -667,7 +667,7 @@ prependDirectory(ArchiveHandle *AH, const char *relativeFilename)
667
dname=ctx->directory;
668
669
if (strlen(dname)+1+strlen(relativeFilename)+1>MAXPGPATH)
670
-exit_horribly(modulename,"path name too long:%s",dname);
+exit_horribly(modulename,"file name too long:\"%s\"",dname);
671
672
strcpy(buf,dname);
673
strcat(buf,"/");
src/bin/pg_dump/pg_dump_sort.c
@@ -993,7 +993,7 @@ repairDependencyLoop(DumpableObject **loop,
993
write_msg(NULL,"NOTICE: there are circular foreign-key constraints among these table(s):\n");
994
for (i=0;i<nLoop;i++)
995
write_msg(NULL," %s\n",loop[i]->name);
996
-write_msg(NULL,"Youmay not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.\n");
+write_msg(NULL,"Youmight not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.\n");
997
write_msg(NULL,"Consider using a full dump instead of a --data-only dump to avoid this problem.\n");
998
if (nLoop>1)
999
removeObjectDependency(loop[0],loop[1]->dumpId);
src/bin/pg_resetxlog/pg_resetxlog.c
@@ -570,7 +570,7 @@ PrintControlValues(bool guessed)
570
sysident_str);
571
printf(_("Latest checkpoint's TimeLineID: %u\n"),
572
ControlFile.checkPointCopy.ThisTimeLineID);
573
-printf(_("Latest checkpoint's full_page_writes:%s\n"),
+printf(_("Latest checkpoint's full_page_writes: %s\n"),
574
ControlFile.checkPointCopy.fullPageWrites ?_("on") :_("off"));
575
printf(_("Latest checkpoint's NextXID: %u/%u\n"),
576
ControlFile.checkPointCopy.nextXidEpoch,
src/bin/psql/command.c
@@ -1114,7 +1114,7 @@ exec_command(const char *cmd,
1114
1115
elseif (strchr(envvar,'=')!=NULL)
1116
1117
-psql_error("\\%s: environment variable name must not contain'='\n",
+psql_error("\\%s: environment variable name must not contain\"=\"\n",
1118
cmd);
1119
success= false;
1120