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

Commit389573f

Browse files
committed
Fix pg_dump for UPDATE policies
pg_dump had the wrong character for update and so was failing whenattempts were made to pg_dump databases with UPDATE policies.Pointed out by Fujii Masao (thanks!)
1 parentb2cbced commit389573f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@ dumpRowSecurity(Archive *fout, DumpOptions *dopt, RowSecurityInfo *rsinfo)
29392939
cmd="SELECT";
29402940
elseif (strcmp(rsinfo->rseccmd,"a")==0)
29412941
cmd="INSERT";
2942-
elseif (strcmp(rsinfo->rseccmd,"u")==0)
2942+
elseif (strcmp(rsinfo->rseccmd,"w")==0)
29432943
cmd="UPDATE";
29442944
elseif (strcmp(rsinfo->rseccmd,"d")==0)
29452945
cmd="DELETE";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp