PostgreSQL cross-schema extension reference in audit trigger -
i'm using (the quite nice) tutorial
http://cjauvin.blogspot.fi/2013/05/impossibly-lean-audit-system-for.html
for making simple audit trigger in postgresql 9.6 db. i'm trying make separate "audit"-schema created , modified table names, installed hstore extension etc.
however, when cause trigger fire on public.product table,
error: function hstore(product) not exist.
i tried create hstore extension in public schema in case execution context there "already enabled"-error. 1 strange thing though in navicat see hstore functions in audit-schema not in public one. schema concept still bit fuzzy me
pointers appreciated , in advance, nik
Comments
Post a Comment