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

Commitdd095b6

Browse files
committed
pg_dump support for comments on FOREIGN DATA WRAPPER and SERVER objects.
Shigeru Hanada, with some corrections.
1 parent50533a6 commitdd095b6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11059,6 +11059,11 @@ dumpForeignDataWrapper(Archive *fout, FdwInfo *fdwinfo)
1105911059
NULL,fdwinfo->rolname,
1106011060
fdwinfo->fdwacl);
1106111061

11062+
/* Dump Foreign Data Wrapper Comments */
11063+
dumpComment(fout,labelq->data,
11064+
NULL,fdwinfo->rolname,
11065+
fdwinfo->dobj.catId,0,fdwinfo->dobj.dumpId);
11066+
1106211067
free(qfdwname);
1106311068

1106411069
destroyPQExpBuffer(q);
@@ -11163,6 +11168,11 @@ dumpForeignServer(Archive *fout, ForeignServerInfo *srvinfo)
1116311168
srvinfo->rolname,
1116411169
srvinfo->dobj.catId,srvinfo->dobj.dumpId);
1116511170

11171+
/* Dump Foreign Server Comments */
11172+
dumpComment(fout,labelq->data,
11173+
NULL,srvinfo->rolname,
11174+
srvinfo->dobj.catId,0,srvinfo->dobj.dumpId);
11175+
1116611176
free(qsrvname);
1116711177

1116811178
destroyPQExpBuffer(q);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp