Re: Assertions in PL/PgSQL

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Assertions in PL/PgSQL
Date: 2013-09-15 14:49:15
Message-ID: 5235C8EB.6010207@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013-09-15 16:34, Peter Eisentraut wrote:
> On Sat, 2013-09-14 at 20:47 +0200, Marko Tiikkaja wrote:
>> Attached is a patch for supporting assertions in PL/PgSQL. These are
>> similar to the Assert() backend macro: they can be disabled during
>> compile time, but when enabled, abort execution if the passed expression
>> is not true.
>
> Doesn't build:

Ugh. Accidentally edited an auto-generated file. Fixed in the
attached, thanks!

Regards,
Marko Tiikkaja

Attachment Content-Type Size
plpgsql_assert_v2.patch text/plain 15.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-09-15 14:51:01 Re: Where to load modules from?
Previous Message Peter Eisentraut 2013-09-15 14:34:13 Re: Assertions in PL/PgSQL