What is OLD in INSTEAD OF trigger? - Mailing list pgsql-hackers

From Jinhua Luo
Subject What is OLD in INSTEAD OF trigger?
Date
Msg-id CAAc9rOxR-VQR-Bgy2TRf0ajYyAB3X5pygujc76mmbSBftPV84A@mail.gmail.com
Whole thread Raw
List pgsql-hackers
If the view definition is too complex to be automatic updateable, then
how postgresql defines OLD in INSTEAD OF trigger? It cannot bind any
column on any table directly then, right?

Unless postgresql refresh view as table source before executing
trigger? Then it may filter (WHERE sub-clause of UPDATE/DELETE) the
rows to be update, and use those rows as OLD?


pgsql-hackers by date:

Previous
From: Jinhua Luo
Date:
Subject: Is it possible for postgres_fdw to push down queries on co-located tables?
Next
From: Prabhat Sahu
Date:
Subject: Re: [HACKERS] Bug in to_timestamp().