I see what you mean about having to hack up the IPC code :-(.Ugh. That's pretty tricky code to begin with, and having tosalt it this liberally with ifdefs is going to be a maintenancenightmare. Isn't there another way?
regards, tom lane