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-08-18T02:14:06Z
Lists: pgsql-hackers
On Mon, Aug 17, 2020 at 04:30:07PM -0700, Mark Wong wrote:
> I've attached a small word diff to suggest a few different words to use
> in the README, if that sounds better?

Sounds good to me.  So applied with those changes.  It is really
tempting to add an example of validator (one simple thing would be to
return an error if trying to use TRIGGEROID or EVTTRIGGEROID), but
that may not be the best thing to do for a test module.  And what we
have here is already much better than the original docs.
--
Michael

Commits

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