plpgsql-trigger.html: Format TG_ variables as table (patch)

From: Christoph Berg <myon(at)debian(dot)org>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: plpgsql-trigger.html: Format TG_ variables as table (patch)
Date: 2022-08-30 13:16:17
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


I found the list of TG_ variables on
hard to read for several reasons: too much whitespace, all the lines
start with "Data type", and even after that, the actual content is
hiding behind some extra "variable that..." boilerplate.

The attached patch formats the list as a table, and removes some of
the clutter from the text.

I reused the catalog_table_entry table machinery, that is probably not
quite the correct thing, but I didn't find a better variant, and the
result looks ok.

Thanks to ilmari for the idea and some initial reviews.


Attachment Content-Type Size
0001-plpgsql-trigger.html-Format-TG_-variables-as-table.patch text/x-diff 9.3 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2022-08-30 13:16:32 Re: SQL/JSON features for v15
Previous Message Jonathan S. Katz 2022-08-30 13:15:51 Re: POC: GROUP BY optimization