| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Re: psql and \p\g |
| Дата | |
| Msg-id | 16636.942358572@sss.pgh.pa.us обсуждение |
| Ответ на | Re: psql and \p\g (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера