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

Commit7b156c1

Browse files
committed
Don't emit a spurious space at end of line in pg_dump of event triggers.
Backpatch to 9.3 and above, where event triggers were added.
1 parentf92d6a5 commit7b156c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15277,13 +15277,12 @@ dumpEventTrigger(Archive *fout, DumpOptions *dopt, EventTriggerInfo *evtinfo)
1527715277
appendPQExpBufferStr(query,fmtId(evtinfo->dobj.name));
1527815278
appendPQExpBufferStr(query," ON ");
1527915279
appendPQExpBufferStr(query,fmtId(evtinfo->evtevent));
15280-
appendPQExpBufferStr(query," ");
1528115280

1528215281
if (strcmp("",evtinfo->evttags)!=0)
1528315282
{
1528415283
appendPQExpBufferStr(query,"\n WHEN TAG IN (");
1528515284
appendPQExpBufferStr(query,evtinfo->evttags);
15286-
appendPQExpBufferStr(query,") ");
15285+
appendPQExpBufferChar(query,')');
1528715286
}
1528815287

1528915288
appendPQExpBufferStr(query,"\n EXECUTE PROCEDURE ");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp