On Fri, Dec 18, 2009 at 02:08:07PM -0700, Chris Ernst wrote: > Hi all, > > I have a project where I need to be able to capture every query from a > production system into a file such that I can "replay" them on a staging > system. Does such a thing already exist or should I start writing my > own log parser? log to CSV format. But: 1. not always all parts of the query will be logged in query itself (prepared statements) 2. replying queries on 2nd machine doesn't quarantee that you will get the same data afterwards. depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@xxxxxxxxxx / aim:depeszhdl / skype:depesz_hdl / gg:6749007 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general