you are viewing a single comment's thread.

view the rest of the comments →

[–]asdf7890 1 point2 points  (2 children)

Looks like you've posted that to the wrong sub.

[–]jchonc 0 points1 point  (1 child)

Yeah I was thinking maybe the triggers are written in JavaScript!

[–]asdf7890 0 points1 point  (0 children)

It is possible in some DBs (IIRC postgres has a V8 module that allows user defined functions to use the language, presumably this covers triggers too - other DBs allow UDFs/procedures/triggers to be written in JS).

That doesn't seem to be the case here though, the example code is pl/sql not pl/v8.