trigger example for plsample
Mark Wong <markwkm@gmail.com>
From: Mark Wong <markwkm@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Konstantina Skovola <konskov@gmail.com>
Date: 2022-01-12T16:33:19Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Extend plsample example to include a trigger handler.
- 2f4d0d67994b 15.0 landed
Attachments
- plsample-trigger-v1.patch (text/x-diff) patch v1
Hi everyone, I've adapted the work that Konstantina did for pl/julia as part of her GSOC project to add an example of handling triggers to plsample. Which was based from pl/tcl and pl/perl. One aspect that I'm not sure about is whether the example should be duplicating code (as it is now) for keeping an example contained within a single function. The only reason I can come up with is to try to read through an example with minimal jumping around. Hoping this is a good start. Regards, Mark