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 |
Message-ID: | Yw4Noe3A2s87A0qq@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I found the list of TG_ variables on
https://www.postgresql.org/docs/current/plpgsql-trigger.html#PLPGSQL-DML-TRIGGER
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.
Christoph
Attachment | Content-Type | Size |
---|---|---|
0001-plpgsql-trigger.html-Format-TG_-variables-as-table.patch | text/x-diff | 9.3 KB |
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 |