Skip site navigation (1) Skip section navigation (2)

Re: Triggers with DO functionality

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Thom Brown <thom(at)linux(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Triggers with DO functionality
Date: 2012-02-17 17:26:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On fre, 2012-02-17 at 13:22 +0000, Thom Brown wrote:
> So instead of
> EXECUTE PROCEDURE functioname();
> you'd have:
> DO $$
> ...
> $$; 

I had wished for this many times and was about to propose something

We might wish to review the SQL standard and other implementations to
make porting triggers a bit easier too.

Also, whatever ALTER functionality functions have would have to be made
available here as well.

In response to


pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2012-02-17 17:27:03
Subject: Re: MySQL search query is not executing in Postgres DB
Previous:From: Robert HaasDate: 2012-02-17 17:16:00
Subject: Re: Displaying accumulated autovacuum cost

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group