Here is an updated patch that includes 1) added uses of PqMsg_* macros, 2)new PqReplMsg_* macros, and 3) new PqBackupMsg_* macros. Thoughts?
-- nathan