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

Pavel Stehule <[email protected]> Mon, 16 Dec 2019 20:42:04 +0100
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <CAFj8pRDAmZAdM_-4skPt0NZ=YR3S3PD1Bm_Q=OnjjQYSX9Vj3Q@mail.gmail.com>
--000000000000b785340599d768ce
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dne po 16. 12. 2019 20:28 u=C5=BEivatel Tom Lane <[email protected]> napsal=
:

> Pavel Stehule <[email protected]> writes:
> > po 16. 12. 2019 v 12:12 odes=C3=ADlatel PG Doc comments form <
> > [email protected]> 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 could have better style, but maybe that is just more
> evidence that a well-written example would be helpful?
>

+1

there is not too much examples for trigger parameters.



>                         regards, tom lane
>

--000000000000b785340599d768ce
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">Dne po 16. 12. 2019 20:28 u=C5=BEivatel Tom Lane &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt; napsal:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">Pavel Stehule &lt;<a href=3D"mailto:pave=
[email protected]" target=3D"_blank" rel=3D"noreferrer">pavel.stehule@gma=
il.com</a>&gt; writes:<br>
&gt; po 16. 12. 2019 v 12:12 odes=C3=ADlatel PG Doc comments form &lt;<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"nor=
eferrer">[email protected]</a>&gt; napsal:<br>
&gt;&gt; I&#39;m wondering if it would be worthwhile to put a totally gener=
ic auditing<br>
&gt;&gt; function into the documentation e.g.<br>
&gt;&gt; [ snip ]<br>
<br>
&gt; Just few points to this code<br>
<br>
I agree this code could have better style, but maybe that is just more<br>
evidence that a well-written example would be helpful?<br></blockquote></di=
v></div><div dir=3D"auto"><br></div><div dir=3D"auto">+1</div><div dir=3D"a=
uto"><br></div><div dir=3D"auto">there is not too much examples for trigger=
 parameters.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><=
div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 regards, tom lane<br>
</blockquote></div></div></div>

--000000000000b785340599d768ce--