Re: Example 42.4. A PL/pgSQL Trigger Function for Auditing

2019-12-16 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/12/plpgsql-trigger.html Description: I'm wondering if it would be worthwhile to put a totally generic auditing function into the documentation e.g. CREATE OR REPLACE FUNCTION zz_audit_() RET

Re: Example 42.4. A PL/pgSQL Trigger Function for Auditing

2019-12-16 Thread Pavel Stehule
po 16. 12. 2019 v 12:12 odesílatel PG Doc comments form < nore...@postgresql.org> napsal: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/plpgsql-trigger.html > Description: > > I'm wondering if it would be worthwhile to put a tota

Re: Example 42.4. A PL/pgSQL Trigger Function for Auditing

2019-12-16 Thread Tom Lane
Pavel Stehule writes: > po 16. 12. 2019 v 12:12 odesílatel PG Doc comments form < > nore...@postgresql.org> napsal: >> I'm wondering if it would be worthwhile to put a totally generic auditing >> function into the documentation e.g. >> [ snip ] > Just few points to this code I agree this code co

Re: Example 42.4. A PL/pgSQL Trigger Function for Auditing

2019-12-16 Thread Daniel Gustafsson
> On 16 Dec 2019, at 20:27, Tom Lane wrote: > > .. maybe that is just more > evidence that a well-written example would be helpful? I think thats the key takeaway here. +1 on the gist of the suggestion that started this thread. cheers ./daniel

Re: Example 42.4. A PL/pgSQL Trigger Function for Auditing

2019-12-16 Thread Pavel Stehule
Dne po 16. 12. 2019 20:28 uživatel Tom Lane napsal: > Pavel Stehule writes: > > po 16. 12. 2019 v 12:12 odesílatel PG Doc comments form < > > nore...@postgresql.org> napsal: > >> I'm wondering if it would be worthwhile to put a totally generic > auditing > >> function into the documentation e.g.