11 beta 3 / ROLLBACK TO SAVEPOINT regression in PLPGSQL

From: "David Klika" <david(dot)klika(at)atlas(dot)cz>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: 11 beta 3 / ROLLBACK TO SAVEPOINT regression in PLPGSQL
Date: 2018-08-23 11:40:38
Message-ID: 000001d43ad6$1d9b8210$58d28630$@atlas.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

This routine works well on postgres v10:

CREATE FUNCTION test_savepoint() RETURNS VOID AS $body$

BEGIN

SAVEPOINT my_savepoint;

ROLLBACK TO my_savepoint;

END $body$ LANGUAGE plpgsql;

The same code can not be compiled in postgres v11 beta 3, I got error:

[42601] ERROR: syntax error at or near "TO"

Position: 117

Best regards

David Klika

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tasos Maschalidis 2018-08-23 12:22:41 Re: BUG #15347: Unaccent for greek characters does not work
Previous Message Alexander Kukushkin 2018-08-23 10:06:59 Re: BUG #15346: Replica fails to start after the crash