Re: doc examples for pghandler

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Mark Wong <mark@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2020-06-15T07:47:01Z
Lists: pgsql-hackers
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.
--
Michael

Commits

  1. Add PL/Sample to src/test/modules/