Re: Ignore error and carry on

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Ignore error and carry on
Date: 2022-05-07 14:38:26
Message-ID: CAKFQuwY=SUwWbe5THmzeq3GLXitP4iHfG_moTSag92vSCqucfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Saturday, May 7, 2022, Shaozhong SHI <shishaozhong(at)gmail(dot)com> wrote:

> In Python, one can do ignore error and carry on processing.
>
> I came across ERROR: invalid memory alloc request size 1073741824.
>
> I wish plpgsql codes to carry on with processing others.
>
> How to ignore error/exception and carry on in plpgsql?
>

Read up on the savepoint command.

David J.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2022-05-07 15:19:37 Re: Recursive query - ERROR: invalid memory alloc request size 1073741824
Previous Message Rob Sargent 2022-05-07 13:53:11 Re: Recursive query - ERROR: invalid memory alloc request size 1073741824