pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedelog() plperl function
2+ messages / 1 participants
[nested] [flat]
* elog() plperl function
@ 2020-03-03 22:31 stan <stanb@panix.com>
0 siblings, 1 reply; 2+ messages in thread
From: stan @ 2020-03-03 22:31 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
I did a Google search for using the RAISE functionality in plperl, and all
the answers I see point to the elog built in function. Looking at this it
appears to me, I can do things like RAISE NOTICE. But what if I want to do,
say, a RAISE EXCEPTION? Or do I need to handle that with the rerun AND an
elog()?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: elog() plperl function
@ 2020-03-03 22:34 stan <stanb@panix.com>
parent: stan <stanb@panix.com>
0 siblings, 0 replies; 2+ messages in thread
From: stan @ 2020-03-03 22:34 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On Tue, Mar 03, 2020 at 05:31:32PM -0500, stan wrote:
> I did a Google search for using the RAISE functionality in plperl, and all
> the answers I see point to the elog built in function. Looking at this it
> appears to me, I can do things like RAISE NOTICE. But what if I want to do,
> say, a RAISE EXCEPTION? Or do I need to handle that with the rerun AND an
> elog()?
>
Never mind, I see in the docs how it works.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-03-03 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 22:31 elog() plperl function stan <stanb@panix.com>
2020-03-03 22:34 ` stan <stanb@panix.com>
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