3 ms·
"One specific complaint I have is that there is no transaction control within pgsql stored procedures (functions). I had to kludge the db link module to get tra
by jeffdavis 14y ago
"One specific complaint I have is that there is no transaction control within pgsql stored procedures (functions). I had to kludge the db link module to get transactions to work."
Yes. Functions work within a transaction, which is usually a blessing. But there are cases where you want to do the transaction control in the procedure itself. This is a known request that is discussed as two different features: "stored procedures" (which is probably what you want) and "autonomous transactions".