Try catch error, return data

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Try catch error, return data
Date: 2022-02-16 02:13:05
Message-ID: CA+i5Jwbf0OUut+aMSAi4o+CuPc3aV6rQpnCD6xYjSZX5CAM3Cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In Python, one can use try statement to catch error, error can be stored as
data.

Can plpgsql catch and return error as data or a data table?

Regards, David

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Shaozhong SHI 2022-02-16 02:13:55 Is there a way to automatically scan a table and determine the format of data
Previous Message Shaozhong SHI 2022-02-16 01:27:56 Is there a way to automatically scan a table and determine the format of data