RAISE ERROR

From: stan <stanb(at)panix(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: RAISE ERROR
Date: 2020-03-07 14:55:11
Message-ID: 20200307145511.GA10796@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I used raise(ERROR) in some functions, and it seems to work as expected, in
that it aborts the statement/function and displays the message. Went to
look at the documentation for this as part of my cleanup to find out this is
undocumented. Should I go back and change all these calls to
RAISE(EXCEPTION)?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

Browse pgsql-general by date

  From Date Subject
Next Message stan 2020-03-07 14:57:18 Re: Rules versus triggers
Previous Message Andy Colson 2020-03-07 14:51:35 Re: geting results of query in plperl