Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> This was done to normalize the grammar a little bit (haha, very
>> funny). In particular it allows this sort of stuff:
>> => select * from foo \p \o out.txt \g \\ select * from foo 2 \x \g
>> etc.
>>
>> Is it *really* necessary to be able to omit the space?
> Yes, I believe it is, in the sense that many people are used to doing
> them together. Can a backslash trigger some separation of commands, or
> at least \p\g be recognized correctly. I don't think there are other
> meaningful combinations.
It'd probably be sufficient if backslash-commands that never take
parameters can be adjacent to a following backslash command.
regards, tom lane