select pg_get_trigger_ddl(-1, 'h'); ERROR: relation with OID 4294967295 does not exist this error obviously is not good. we can follow the approach used by pg_get_viewdef(oid)
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных