Re: psql: small patch to correct filename formatting error in '\s FILE' output
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: psql: small patch to correct filename formatting error in '\s FILE' output |
| Дата | |
| Msg-id | 2759.1383692072@sss.pgh.pa.us обсуждение |
| Ответ на | Re: psql: small patch to correct filename formatting error in '\s FILE' output (Ian Lawrence Barwick <barwick@gmail.com>) |
| Список | pgsql-hackers |
Ian Lawrence Barwick <barwick@gmail.com> writes:
> 2013/9/10 Bruce Momjian <bruce@momjian.us>:
>> I still see that weird behavior in git head:
>>
>> pgdevel=# \s history.txt
>> Wrote history to file "./history.txt".
>> pgdevel=# \s /tmp/history.txt
>> Wrote history to file ".//tmp/history.txt".
>> pgdevel=# \cd /tmp
>> pgdevel=# \s /tmp/history.txt
>> Wrote history to file "/tmp//tmp/history.txt".
>>
>> Should I revert the suggested patch?
> IIRC the patch was never applied, the reversion candidate is the existing
> commit 0725065b.
I reverted 0725065b. AFAICT there is no interest in making \s produce
a reliable full path name. There was some interest in making \cd tell
you where it'd chdir'd to, but that would be a separate patch.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера