Re: 11 beta 3 / ROLLBACK TO SAVEPOINT regression in PLPGSQL

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: David Klika <david(dot)klika(at)atlas(dot)cz>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: 11 beta 3 / ROLLBACK TO SAVEPOINT regression in PLPGSQL
Date: 2018-08-23 12:41:21
Message-ID: 859791535028081@myt4-906d9f8e7e5f.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello

> This routine works well on postgres v10:
it works? Or is only accepted as input? I got error on function call.
I thought plpgsql cannot directly uses savepoints, only implicitly with begin ... exception ... end block ( https://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING )

Well, you can still create this function with set check_function_bodies to off

regards, Sergei

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2018-08-23 13:00:47 Re: 11 beta 3 / ROLLBACK TO SAVEPOINT regression in PLPGSQL
Previous Message Tasos Maschalidis 2018-08-23 12:22:41 Re: BUG #15347: Unaccent for greek characters does not work