Well I am trying to create a trigger, but it seems that using PGMyadmin's SQL command prompt wont work, it shows syntax error all the time:
CREATE TRIGGER trigger_name BEFORE INSERT ON table_name
FOR EACH ROW
// Code inside
Anyone knows how to fix this problem? I have absolutely no idea why this syntax error appears:
ERROR: syntax error at or near "BEGIN"
LINE 3: BEGIN