Re: [GENERAL] Questions about anonymous procedure/function.

2005-08-03 Thread Richard Huxton
Ying Lu wrote: Greetings, I have a question about whether I am able to create an *anonymous* procedure/function under postgreSQL 8. Something like: Begin ... ... update ... IF ... THEN rollback END IF; ... ... END; No I'd like to do a series of operations. If any one of the ope

[GENERAL] Questions about anonymous procedure/function.

2005-08-02 Thread Ying Lu
Greetings, I have a question about whether I am able to create an *anonymous* procedure/function under postgreSQL 8. Something like: Begin ... ... update ... IF ... THEN rollback END IF; ... ... END; I'd like to do a series of operations. If any one of the opers failed, all previ