Heya guys
I am now attempting to create a logging trigger that will be performed on every insertion to it's tracked table.
However, I'd also like to track the user's IP address and his userid. This would mean to me, that I have to "plant" external arguments, besides the "NEW" element, that holds these two parameters for my use.
Is this possible?
could you give me an example in pl/pgSql?
tnx
I am now attempting to create a logging trigger that will be performed on every insertion to it's tracked table.
However, I'd also like to track the user's IP address and his userid. This would mean to me, that I have to "plant" external arguments, besides the "NEW" element, that holds these two parameters for my use.
Is this possible?
could you give me an example in pl/pgSql?
tnx