Re: Nested xacts: looking for testers and review
| От | Tom Lane |
|---|---|
| Тема | Re: Nested xacts: looking for testers and review |
| Дата | |
| Msg-id | 3220.1086896354@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Nested xacts: looking for testers and review (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Nested xacts: looking for testers and review
|
| Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> We are considering allowing COMMIT IGNORE ABORT for scripts that want to
> do a subtransaction, but don't care if it fails, and because it is a
> script, they can't test the return value to send ROLLBACK:
While we clearly want this functionality, I tend to agree with Barry
that COMMIT IGNORE ABORT (and the other variants that have been floated)
is a horrid, confusing name for it. I would suggest using END with some
modifier, instead. Perhaps
END [ WORK | TRANSACTION ] [ IGNORE ERRORS ]
END doesn't so directly imply that you are trying to commit a failed
transaction.
regards, tom lane
В списке pgsql-hackers по дате отправления: