"Nahuel Greco" <ngreco (AT) gmail (DOT) com> writes:
Quote:
If I create a trigger for a table, the trigger works
ok, but if I add a new column to the table, then
the trigger receives a NEW record with the old
structure! I can fix that only if I remove the trigger
from the table _and_ the trigger function. |
Starting a fresh backend session would be sufficient. I believe the
issue is that plpython is caching tuple structure information.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend