pg-mem
pg-mem copied to clipboard
🚩 Support "CREATE TRIGGER" & "CREATE AGGREGATE" statements
Supporting CREATE TRIGGER is somehow related to the possibility of supporting CREATE FUNCTION statements, which is tracked by https://github.com/oguimbal/pg-mem/issues/42
That said, supporting triggers for functions declared as custom functions should also be possible, and simpler.
... it must just be decided how to let function implementation access caller context:
- new/old record versions
- the current transaction (all sub-requests must be performed in the same outer transaction)
Maybe via some static functions ?
nb: Beware of reentrant calls... must check how this is handled in pg.
Hello, any update on this?
Hellon any news ? is there an option to just "ignore" these no suported features ?