Re: [HACKERS] Annotating pg_dump/pg_restore

2015-08-20 Thread Guillaume Lelarge
2015-08-20 18:43 GMT+02:00 Kevin Burke : > Hi, > Normally I try to annotate incoming queries, to make it easier to diagnose > slow ones. For example: > > -- Users.findByPhoneNumber > SELECT * FROM > > The pg_dump and pg_restore commands issue a COPY with no possibility of > adding a comment.

[HACKERS] Annotating pg_dump/pg_restore

2015-08-20 Thread Kevin Burke
Hi, Normally I try to annotate incoming queries, to make it easier to diagnose slow ones. For example: -- Users.findByPhoneNumber SELECT * FROM The pg_dump and pg_restore commands issue a COPY with no possibility of adding a comment. It would be useful to know who or what exactly is performi