Re: Why didn't I get an error in the Exception block?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Durumdara <durumdara(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why didn't I get an error in the Exception block?
Date: 2026-08-27 14:58:11
Message-ID: 94d99fb5-0942-472c-a2c6-166c70234146@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/27/26 6:07 AM, Durumdara wrote:
> Dear All!
>
> PGSQL 11.x.
>

FYI, version 11 is ~3 years past EOL.

> So maybe it has differences between client transaction handling?
> Or only DO blocks have this effect?
> Or does the PGAdmin do something differently?

Read:

https://www.postgresql.org/docs/11/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING

>
> Thank you for any explanation.
>
> Best regards
> dd
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2026-08-27 16:30:23 Re: Why didn't I get an error in the Exception block?
Previous Message Laurenz Albe 2026-08-27 13:32:51 Re: Why didn't I get an error in the Exception block?