Re: Raise exception without using plpgsql?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Joel Jacobson <joel(at)compiler(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Raise exception without using plpgsql?
Date: 2020-12-17 14:56:23
Message-ID: CAKFQuwbeczLopMAyoNFuxNAsUAnoTZ6X-QJ8Hifz3mjudqSciA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, December 17, 2020, Joel Jacobson <joel(at)compiler(dot)org> wrote:

> Hi,
>
> Is there a way to raise an exception with a message,
> without having to add your own plpgsql helper-function?
>

Not that i’ve seen. There is no SQL way to do so, and I’ve not seen a core
c-language function that provides that feature.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gustavsson Mikael 2020-12-17 16:00:50 SV: SV: Problem with ssl and psql in Postgresql 13
Previous Message Magnus Hagander 2020-12-17 14:52:55 Re: SV: Problem with ssl and psql in Postgresql 13