Re: trigger example for plsample
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chapman Flack <chap@anastigmatix.net>
Cc: pgsql-hackers@lists.postgresql.org, Mark Wong <markwkm@gmail.com>,
Konstantina Skovola <konskov@gmail.com>
Date: 2022-04-07T22:29:53Z
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
Chapman Flack <chap@anastigmatix.net> writes: > v4 looks good to me. Pushed with very minor editorialization. Mainly, I undid the decision to stop printing the function source text, on the grounds that (1) it falsified the comment immediately above, and (2) if you have to print it anyway to avoid compiler warnings, you're just creating confusing inconsistency between the two handler functions. regards, tom lane