Example 43.6. A PL/pgSQL Trigger Function for Maintaining a Summary Table

From: Maxim Yablokov <m(dot)yablokov(at)postgrespro(dot)ru>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Example 43.6. A PL/pgSQL Trigger Function for Maintaining a Summary Table
Date: 2023-10-26 07:33:50
Message-ID: 70f74895-8512-4b2f-8617-2ac0ebcd2e87@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hello!

Example 43.6 on the page
https://www.postgresql.org/docs/16/plpgsql-trigger.html has two tables
called main. But it seems that the table *time_dimension* is not used
any further, it's a bit strange for one of main tables of the example.
Am I missing something, or should this example be extended (or reduced)?

--
Best regards,
Maxim Yablokov
Technical writer-translator
Postgres Professional <https://postgrespro.com/>

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-10-26 09:29:40 Re: Example 43.6. A PL/pgSQL Trigger Function for Maintaining a Summary Table
Previous Message Tom Lane 2023-10-25 18:31:54 Re: Discrepancy between the documentation and the implementation