Re: [GENERAL] Fatal error "stack empty" on ROLLBACK

2016-05-23 Thread dandl
l - A New Database Language - andl.org > -Original Message- > From: Tom Lane [mailto:t...@sss.pgh.pa.us] > Sent: Tuesday, 24 May 2016 2:56 AM > To: dandl > Cc: 'PostgreSQL' > Subject: Re: [GENERAL] Fatal error "stack empty" on ROLLBACK > > &

Re: [GENERAL] Fatal error "stack empty" on ROLLBACK

2016-05-23 Thread Tom Lane
"dandl" writes: > SPI call to execute "ROLLBACK" triggers FATAL ERROR "stack empty". What does > it mean? Nothing in the docs I can see. I can't find that string anywhere in the Postgres sources. However, SPI should refuse to execute ROLLBACK, or any other transaction control command; it should

[GENERAL] Fatal error "stack empty" on ROLLBACK

2016-05-22 Thread dandl
SPI call to execute "ROLLBACK" triggers FATAL ERROR "stack empty". What does it mean? Nothing in the docs I can see. In the particular case there were no update commands issued between BEGIN and ROLLBACK. Is that what it means? Or am I missing something? Regards David M Bennett FACS Andl - A New