Re: doc examples for pghandler

From: Mark Wong <mark(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: doc examples for pghandler
Date: 2020-08-11 20:01:10
Message-ID: 20200811200109.GA26294@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 15, 2020 at 04:47:01PM +0900, Michael Paquier wrote:
> On Sun, Jun 14, 2020 at 08:45:17PM -0700, Mark Wong wrote:
> > Sounds good to me. Something more like the attached patch?
>
> That's the idea. I have not gone in details into what you have here,
> but perhaps it would make sense to do a bit more and show how things
> are done in the context of a PL function called in a trigger? Your
> patch removes from the docs a code block that outlined that.

Ah, right. For the moment I've added some empty conditionals for
trigger and event trigger handling.

I've created a new entry in the commitfest app. [1] I'll keep at it. :)

Regards,
Mark

[1] https://commitfest.postgresql.org/29/2678/

--
Mark Wong
2ndQuadrant - PostgreSQL Solutions for the Enterprise
https://www.2ndQuadrant.com/

Attachment Content-Type Size
plsample-v2.patch text/x-diff 10.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-08-11 21:28:42 Re: Inconsistent behavior of smart shutdown handling for queries with and without parallel workers
Previous Message Andres Freund 2020-08-11 19:01:39 Re: posgres 12 bug (partitioned table)