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

Commitdf43fcf

Browse files
committed
pg_dump: Fix quoting of domain constraint names
The original code was adding double quotes to an already-quotedidentifier, leading to nonsensical results. Remove the quoting call.I introduced the broken code in7eca575 of 9.5 era, so backpatch to9.5.Report and patch by Elvis PranskevichusReviewed by Michael Paquier
1 parente1bd684 commitdf43fcf

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
@@ -9611,7 +9611,7 @@ dumpDomain(Archive *fout, TypeInfo *tyinfo)
96119611
appendPQExpBuffer(labelq,"CONSTRAINT %s ",
96129612
fmtId(domcheck->dobj.name));
96139613
appendPQExpBuffer(labelq,"ON DOMAIN %s",
9614-
fmtId(qtypname));
9614+
qtypname);
96159615
dumpComment(fout,labelq->data,
96169616
tyinfo->dobj.namespace->dobj.name,
96179617
tyinfo->rolname,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp