public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Shaozhong SHI <[email protected]>
Cc: pgsql-sql <[email protected]>
Subject: Re: Ignore error and carry on
Date: Sat, 7 May 2022 07:38:26 -0700
Message-ID: <CAKFQuwY=SUwWbe5THmzeq3GLXitP4iHfG_moTSag92vSCqucfw@mail.gmail.com> (raw)
In-Reply-To: <CA+i5JwbY-1Acg92Vp8VUJxvMC+nSJ1xX4G36rEKRq5UP0+WEPg@mail.gmail.com>
References: <CA+i5JwbY-1Acg92Vp8VUJxvMC+nSJ1xX4G36rEKRq5UP0+WEPg@mail.gmail.com>

On Saturday, May 7, 2022, Shaozhong SHI <[email protected]> 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.


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Ignore error and carry on
  In-Reply-To: <CAKFQuwY=SUwWbe5THmzeq3GLXitP4iHfG_moTSag92vSCqucfw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox