A bunch of these now execute snprintf()s unnecessarily. I think these should be made conditional on message_level_is_interesting(DEBUG1) to avoid that overhead.
-- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "You're _really_ hosed if the person doing the hiring doesn't understand relational systems: you end up with a whole raft of programmers, none of whom has had a Date with the clue stick." (Andrew Sullivan)