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

Commitc71e273

Browse files
committed
pg_dump: suppress "Tablespace:" comment for default tablespaces
Report by Hans Ginzel
1 parent04e6d3b commitc71e273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3246,7 +3246,7 @@ _printTocEntry(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt, bool isDat
32463246
free(sanitized_schema);
32473247
free(sanitized_owner);
32483248

3249-
if (te->tablespace&& !ropt->noTablespace)
3249+
if (te->tablespace&&strlen(te->tablespace)>0&&!ropt->noTablespace)
32503250
{
32513251
char*sanitized_tablespace;
32523252

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp