Skip to main content

Timeline for Postgresql Logging Questions

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Jan 16, 2014 at 7:40 comment added Craig Ringer @DavidS Not AFAIK from the logs, but you could try comparing. IIRC psql -c "select ...; select ...;" sends a multi-statement query. To confirm I'd need to attach gdb to the server and check the query exec which I don't have time for at the moment, but see if it produces different results in the logs to each statement running separate.
Jan 16, 2014 at 6:55 vote accept David S
Jan 16, 2014 at 6:47 comment added David S Thank you for the reply. I understand about the durations not include network access. Is there anyway to tell the difference between single and multi-statement queries?
Jan 16, 2014 at 5:57 history answered Craig Ringer CC BY-SA 3.0