Re: check_recovery_target_lsn() does a PG_CATCH without a throw

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: check_recovery_target_lsn() does a PG_CATCH without a throw
Date: 2019-06-11 14:29:41
Message-ID: 16033481560263381@iva6-161d47f95e63.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

> That's not OK.

hmm. Did you mean catching only needed errors by errcode? Something like attached?

regards, Sergei

Attachment Content-Type Size
check_recovery_target_re_throw_error.patch text/x-diff 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jose Luis Tallon 2019-06-11 14:47:28 Re: [PATCH] Implement uuid_version()
Previous Message Alvaro Herrera 2019-06-11 14:11:20 Re: pg_upgrade: prep_status doesn't translate messages