Re: PL/perl elog(ERROR) Does not Abort Transaction
| От | David E. Wheeler |
|---|---|
| Тема | Re: PL/perl elog(ERROR) Does not Abort Transaction |
| Дата | |
| Msg-id | A94571C3-1469-4F9F-82EA-AAF733BA4DEB@iovation.com обсуждение исходный текст |
| Ответ на | Re: PL/perl elog(ERROR) Does not Abort Transaction (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: PL/perl elog(ERROR) Does not Abort Transaction
Re: PL/perl elog(ERROR) Does not Abort Transaction |
| Список | pgsql-hackers |
On May 10, 2012, at 5:41 PM, Bruce Momjian wrote: > OK, still an abort on 9.1.X head: > > $ psql test > psql (9.1.3) > Type "help" for help. > > test=> begin; > BEGIN > test=> do language plperl $$ elog(ERROR, 'foo')$$; > ERROR: foo at line 1. > CONTEXT: PL/Perl anonymous code block > test=> select true; > ERROR: current transaction is aborted, commands ignored until end of > transaction block Ooh, heisenbug. What version of Perl? Mine is 5.14.2 compiled from source. David
В списке pgsql-hackers по дате отправления: