accessing text of the query in a rule

From: "Toni Casueps" <casueps(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: accessing text of the query in a rule
Date: 2005-12-02 17:44:36
Message-ID: BAY108-F199BF3C5C3B644EA5D717DAD4C0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am making rules for a table and I want to know what values or variables
can I use apart from the "new..." and old... fields, for example I would
like to read the SQL query that the user wrote that caused this rule to
execute. Can this be done?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roger Hand 2005-12-02 17:49:22 Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508 digits
Previous Message Tom Lane 2005-12-02 17:43:28 Re: Numeric 508 datatype