20110401_pg_dump_support.patch
application/octet-stream
Filename: 20110401_pg_dump_support.patch
Type: application/octet-stream
Part: 1
Message:
Re: Comments on SQL/Med objects
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | 0 | 0 |
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 5561295..a6ffb78 100644 *** a/src/bin/pg_dump/pg_dump.c --- b/src/bin/pg_dump/pg_dump.c *************** dumpForeignDataWrapper(Archive *fout, Fd *** 11059,11064 **** --- 11059,11069 ---- NULL, fdwinfo->rolname, fdwinfo->fdwacl); + /* Dump foreign-data wraper Comments */ + dumpComment(fout, labelq->data, + NULL, "", + fdwinfo->dobj.catId, 0, fdwinfo->dobj.dumpId); + free(qfdwname); destroyPQExpBuffer(q); *************** dumpForeignServer(Archive *fout, Foreign *** 11163,11168 **** --- 11168,11178 ---- srvinfo->rolname, srvinfo->dobj.catId, srvinfo->dobj.dumpId); + /* Dump foreign server Comments */ + dumpComment(fout, labelq->data, + NULL, "", + srvinfo->dobj.catId, 0, srvinfo->dobj.dumpId); + free(qsrvname); destroyPQExpBuffer(q);