postgres updated trigger function but no effect

时间:2016-08-31 18:31:28

标签: postgresql triggers procedure

I have a Postgres 9.4 database with a trigger on insert on a table with partitions (child tables). The trigger calls a procedure that needs to be updated regularly for new partition tables. I found that after updating the trigger procedure, the trigger still seems to call the previous version of that procedure, as it throws an exception if the insert is out of range in regards to available partitions. How can I force Postgres to use the correct trigger procedure?

Kind regards, Kai

1 个答案:

答案 0 :(得分:0)

这个问题无效。问题不在于没有调用/更新的程序,只是一个愚蠢的时区问题。