Good Afternoon everyone, I've got a knotty problem, I have a mature Postgres database that has over 500 tables, and is too large to dump. When a product is added to the database a new line is created in many tables and I'd like to check what information is added in order to replicate the functionality in a new piece of software. The reason is the existing software interface is very old and unfriendly so we are replacing it. I can't very easily use the approach suggested here: Search entire postgres database? . Can anyone suggest another solution?
I should clarify i can't modify the database at all, until we have reliably replaced the existing interface and that won't be for months yet.
Thanks
You can set log_statement = 'all'
for the short time when you run your experiment. Make sure that your log_line_prefix
contains %c
. Then you can track all SQL statements that belong to one database session.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.