Document that PG_TRY block cannot have a return statement

From: Serpent <serpent7776(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Document that PG_TRY block cannot have a return statement
Date: 2023-09-12 12:54:24
Message-ID: CANncwrJTse6WKkUS_Y8Wj2PHVRvaqPxMk_qtEPsf_+NVPYxzyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I created a tiny patch that documents that the code block following
PG_TRY() cannot have any return statement.

Please CC me, as I'm not subscribed to this list.

Attachment Content-Type Size
0001-note-no-return-in-pg_try.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema 2023-09-12 13:17:09 Re: Support prepared statement invalidation when result types change
Previous Message Martín Marqués 2023-09-12 12:33:56 Re: Possibility to disable `ALTER SYSTEM`