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

Commit58dc80a

Browse files
committed
pg_dump: Error message improvements
Remove spurious semicolon from one error message, and print theoffending value of a parameter reported as invalid in another.
1 parent98bd4c7 commit58dc80a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/compress_zstd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _Zstd_CCtx_setParam_or_die(ZSTD_CStream *cstream,
6363

6464
res=ZSTD_CCtx_setParameter(cstream,param,value);
6565
if (ZSTD_isError(res))
66-
pg_fatal("could not set compression parameter: \"%s\": %s",
66+
pg_fatal("could not set compression parameter \"%s\": %s",
6767
paramname,ZSTD_getErrorName(res));
6868
}
6969

@@ -498,7 +498,7 @@ Zstd_open(const char *path, int fd, const char *mode,
498498
pg_fatal("could not initialize compression library");
499499
}
500500
else
501-
pg_fatal("unhandled mode");
501+
pg_fatal("unhandled mode \"%s\"",mode);
502502

503503
return true;
504504
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp