[FB-Tracker] Created: (CORE-5545) Wrong syntax with CREATE TRIGGER ... ON <table> used with POSITION

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (CORE-5545) Wrong syntax with CREATE TRIGGER ... ON <table> used with POSITION

JIRA tracker@firebirdsql.org
Wrong syntax with CREATE TRIGGER ... ON <table> used with POSITION
------------------------------------------------------------------

                 Key: CORE-5545
                 URL: http://tracker.firebirdsql.org/browse/CORE-5545
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 3.0.2, 2.5.7, 4.0 Initial
            Reporter: Adriano dos Santos Fernandes


I understand that "ON <table>" is complement part to BEFORE INSERT, so POSITION must be after both, not in the middle.

Test case:

recreate table t (n integer);

-- works
recreate trigger t1 before insert position 1 on t as begin end;

-- don't work
recreate trigger t1 before insert on t position 1 as begin end;

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel