Fix broken pg_dump code for dumping comments on event triggers.
This never worked, I think. Per report from Marc Munro. In passing, fix funny spacing in the COMMENT ON command as a result of excess space in the "label" string.
This commit is contained in:
parent
3c9e4cdbf2
commit
adfc157dd9
@ -15106,7 +15106,7 @@ dumpEventTrigger(Archive *fout, DumpOptions *dopt, EventTriggerInfo *evtinfo)
|
||||
query->data, "", NULL, NULL, 0, NULL, NULL);
|
||||
|
||||
dumpComment(fout, dopt, labelq->data,
|
||||
NULL, NULL,
|
||||
NULL, evtinfo->evtowner,
|
||||
evtinfo->dobj.catId, 0, evtinfo->dobj.dumpId);
|
||||
|
||||
destroyPQExpBuffer(query);
|
||||
|
Loading…
x
Reference in New Issue
Block a user