[
https://issues.apache.org/jira/browse/DERBY-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779778#comment-13779778
]
Knut Anders Hatlen edited comment on DERBY-534 at 9/27/13 9:00 AM:
-------------------------------------------------------------------
Uploading a new revision of the functional specification. It now mentions the
new column in the SYSTRIGGERS table, and also some more errors that should be
handled: The WHEN clause of a before trigger should not reference generated
columns (see DERBY-3948). WHEN clauses should not reference tables in the
SESSION schema.
[comment edited: clarified that the restriction on generated columns only
applies to BEFORE triggers]
was (Author: knutanders):
Uploading a new revision of the functional specification. It now mentions
the new column in the SYSTRIGGERS table, and also some more errors that should
be handled: The WHEN clause should not reference generated columns (see
DERBY-3948) or tables in the SESSION schema.
> Support use of the WHEN clause in CREATE TRIGGER statements
> -----------------------------------------------------------
>
> Key: DERBY-534
> URL: https://issues.apache.org/jira/browse/DERBY-534
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Reporter: Kristian Waagan
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Labels: derby_triage10_11
> Attachments: derby-534-01-a-syntax.diff,
> derby-534-02-a-refactor.diff, derby-534-03-a-npe-testcase.diff,
> derby-534-04-a-referencing.diff, parser.diff, WhenClause.html,
> WhenClause.html, WhenClause.html
>
>
> Support use of the WHEN clause in CREATE TRIGGER statements. The clause is
> described in the SQL standard (2003) in chapter "11.39 <trigger definition>"
> under "<triggered action>".
> There are traces in the code that suggests some work has been done on this
> earlier. If anyone knows something about this, please add a comment to this
> issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira