proposal: Additional parameters for RAISE statement

Lists: pgsql-hackers
From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "PG Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: proposal: Additional parameters for RAISE statement
Date: 2008-04-14 06:15:38
Message-ID: 162867790804132315r29bc2829xe1dc62532642834b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello

this proposal replace older unsuccessful proposal "user exception" -
http://archives.postgresql.org/pgsql-hackers/2005-06/msg00683.php

It allows only add more parameters to RAISE statement::

syntax:

RAISE [NOTICE|WARNING|EXCEPTION] literal [, params]
[WITH (eparam=expression, ...)];

possible exception params: sqlstate, detail, detail_log, hint.

Regards
Pavel Stehule