Re: doc examples for pghandler - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: doc examples for pghandler
Date
Msg-id 20200613041917.GK3362@paquier.xyz
Whole thread Raw
In response to Re: doc examples for pghandler  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: doc examples for pghandler
List pgsql-hackers
On Fri, Jun 12, 2020 at 10:13:41PM -0400, Tom Lane wrote:
> On second thought, contrib/ is not quite the right place, because we
> typically expect modules there to actually get installed, meaning they
> have to have at least some end-user usefulness.  The right place for
> a toy PL handler is probably src/test/modules/; compare for example
> src/test/modules/test_parser/, which is serving quite the same sort
> of purpose as a skeleton text search parser.

+1 for src/test/modules/, and if you can provide some low-level API
coverage through this module, that's even better.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel copy
Next
From: Amit Kapila
Date:
Subject: Re: Transactions involving multiple postgres foreign servers, take 2