Thread: [HACKERS] SQL Standard Feature T211

[HACKERS] SQL Standard Feature T211

From
Kevin Grittner
Date:
[separate thread from transition table patch, since a different
audience might be interested]

Four things are required to claim support for Feature T211, "Basic
trigger capability":- support for the CREATE TRIGGER statement- the ability to declare and reference transition tables
forAFTER  triggers- support for the DROP TRIGGER statement- support for TRIGGER in the GRANT and REVOKE statements
 

With the addition of transition tables we have all four, although
I'm not sure whether the CREATE TRIGGER statement conforms closely
enough to claim the feature.  The two basic issues I can think of
are:- we don't allow the OLD and NEW transition variable names to be  specified -- using hard-coded values instead- we
don'tsupport the standard <triggered SQL statement> formats,  instead supporting only our EXECUTE PROCEDURE syntax
 

Do we leave T211, "Basic trigger capability" on our "unsupported"
list until those two points are addressed?  Does anyone know of
anything else that would need to be done?

--
Kevin Grittner



Re: [HACKERS] SQL Standard Feature T211

From
Peter Eisentraut
Date:
On 3/9/17 18:39, Kevin Grittner wrote:
> With the addition of transition tables we have all four, although
> I'm not sure whether the CREATE TRIGGER statement conforms closely
> enough to claim the feature.  The two basic issues I can think of
> are:
>  - we don't allow the OLD and NEW transition variable names to be
>    specified -- using hard-coded values instead
>  - we don't support the standard <triggered SQL statement> formats,
>    instead supporting only our EXECUTE PROCEDURE syntax
> 
> Do we leave T211, "Basic trigger capability" on our "unsupported"
> list until those two points are addressed?

Those seem pretty big ones.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services