Just started to deal with PostgreSQL. I need a trigger that writes the time, user, and operation type (CREATE, ALTER, DROP) into a separate table. I get to get the current timestamp and the user for which the trigger was called, I just can not get the type of operation.

0