Thread: Ignore error and carry on

Ignore error and carry on

From
Shaozhong SHI
Date:
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?

Regards,

David

Re: Ignore error and carry on

From
"David G. Johnston"
Date:


On Saturday, May 7, 2022, Shaozhong SHI <shishaozhong@gmail.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.