Re: [GENERAL] plpython bug

2005-05-05 Thread Mage
Update: it might be not plpython, but similar to the plperl bug I found last time. The script which can produce the bug: create table test (id int, date timestamp); create or replace function trigger_test() returns trigger as $$ plpy.info(TD['new']) return 'MODIFY' $$ language plpytho

[GENERAL] plpython bug

2005-05-04 Thread Mage
Hello! create or replace function trigger_keywords_maintain() returns trigger as $$ return 'MODIFY' $$ language plpythonu; update table set id = id where id = 7 ERROR: invalid input syntax for type timestamp: "2005-05-03 14:07:33,279213" I see that Python's timestamp format is no