public inbox for [email protected]  
help / color / mirror / Atom feed
From: Shaozhong SHI <[email protected]>
To: pgsql-sql <[email protected]>
Subject: Finding out types of error
Date: Sat, 8 Jul 2023 19:55:35 +0100
Message-ID: <CA+i5JwY8rkbXzLq62wh6mEj2-Q8cxoRjO7hDvEtaQqiogE05Aw@mail.gmail.com> (raw)

Having the following:

Begin

   insert into a_table select * from a_function

Exception
   Raise note 'Skipped"



This works.

Can it trap types of errors to find out what is wrong

Regards,

David


view thread (2+ messages)  latest in thread

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]
  Subject: Re: Finding out types of error
  In-Reply-To: <CA+i5JwY8rkbXzLq62wh6mEj2-Q8cxoRjO7hDvEtaQqiogE05Aw@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