How do I get the SQL statement in a trigger?

From: a <372660931(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: How do I get the SQL statement in a trigger?
Date: 2018-05-10 10:23:25
Message-ID: tencent_6EF46BDD28A4F2AA52209B4B@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi I would like to write a trigger that recorded every sql statement under the effected entry. So if it is possible to retrieve the sql statement within a trigger??

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2018-05-10 10:36:08 Re: Domain based on TIMEZONE WITH TIME ZONE
Previous Message Ben Hood 2018-05-10 10:19:36 Re: Domain based on TIMEZONE WITH TIME ZONE