bug: pg_dump use strange tag for trigger - Mailing list pgsql-hackers

From Pavel Stehule
Subject bug: pg_dump use strange tag for trigger
Date
Msg-id CAFj8pRA7_HotbwyRwTwMUy5fBkB80X4Ap=Hx6x1pTVuCveh+9w@mail.gmail.com
Whole thread Raw
Responses Re: bug: pg_dump use strange tag for trigger
List pgsql-hackers
Hi,

When I played with regression tests for pg_restore, I tested -T filtering triggers too. I had problems with restoring triggers. I found that the name for trigger uses the pattern "tablename triggername" (not just (and correct) triggername).

I propose to generate tag just like trigger name

proposed patch attached

regards

Pavel




Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: explain analyze rows=%.0f
Next
From: "houzj.fnst@fujitsu.com"
Date:
Subject: RE: Perform streaming logical transactions by background workers and parallel apply