0
我想將我的MySQL過程轉換爲使用回滾和提交的pgSQL函數。當我做了我得到像下面的錯誤,帶回滾和提交的PgSQL函數
ERROR: cannot begin/end transactions in PL/pgSQL HINT: Use a BEGIN block with an EXCEPTION clause instead. CONTEXT: PL/pgSQL function fun_profile_update(refcursor,character varying,character varying) line 155 at SQL statement
請幫我。這是我的功能:
不可能的。函數的調用者需要提交或回滾 –