Re: [BUGS] Problems with insert rule called from plpython

2003-02-14 Thread Tom Lane
Pavel Hanak <[EMAIL PROTECTED]> writes: > Now calling "select testfun()" shows this fatal error: >FATAL: SPI: improper call to spi_dest_setup Hm, I'm glad I put in that test --- it exposed a problem. Here is the patch for 7.3. regards, tom lane *** src/backend/exec

[BUGS] Problems with insert rule called from plpython

2003-02-14 Thread Pavel Hanak
Hello, I've noticed one problem by upgrading from postgresql-7.3.1 to 7.3.2. The example of this problem looks like this: create table test (a int, b text); create view testview as select * from test; create or replace rule testview_ins as on insert to testview do instead ( ins