pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: philippe.godfrin@nov.com
Subject: 42.6.8.1. Obtaining Information About An Error
Date: Wed, 07 Oct 2020 17:50:19 +0000
Message-ID: <160209301903.21448.2454407587993311933@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/plpgsql-control-structures.html
Description:

42.6.8.1. Obtaining Information About An Error

This example omits raise notice code:

DECLARE
  text_var1 text;
  text_var2 text;
  text_var3 text;
BEGIN
  -- some processing which might cause an exception
  ...
EXCEPTION WHEN OTHERS THEN
  GET STACKED DIAGNOSTICS text_var1 = MESSAGE_TEXT,
                          text_var2 = PG_EXCEPTION_DETAIL,
                          text_var3 = PG_EXCEPTION_HINT;
END;


view thread (3+ messages)  latest in thread

Message-ID: <160209301903.21448.2454407587993311933@wrigleys.postgresql.org>
Permalink:  ../160209301903.21448.2454407587993311933@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/160209301903.21448.2454407587993311933@wrigleys.postgresql.org

 · 

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: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, philippe.godfrin@nov.com
  Subject: Re: 42.6.8.1. Obtaining Information About An Error
  In-Reply-To: <160209301903.21448.2454407587993311933@wrigleys.postgresql.org>

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

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