I have to create postgresql user in postgresql 9.0 and give grant on my database xxx and whose all log of insert and update operation should be stored in one external log file so that i can have all information about his operations performed on my database. How i can achieved this in my postgresql 9.0. please suggest me any way.

  • This is called auditing. What have you learned about auditing so far? – vonPryz Nov 15 '13 at 10:53
  • i am new to postgresql so i dont know auditing.Is there any other option from postgreSql logging system. – sharad vishe Nov 15 '13 at 13:07

Have a look at the Postgresql wiki page where there are comprehensive examples of audit mechanisms for both Postgresql 9.0 and 9.1+

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.