Subparagparh 3:I suggest to replace:"but it is passed a "context" pointer pointing to a TriggerDatastructure"with"but it is passed a "context" pointer to a structure of typeTriggerData"
pgsql-docs by date:
Соглашаюсь с условиями обработки персональных данных