| От | Tom Lane |
|---|---|
| Тема | Re: CR is not removed with psql -f command on Windows. |
| Дата | |
| Msg-id | 1710293.1622123765@sss.pgh.pa.us обсуждение |
| Ответ на | CR is not removed with psql -f command on Windows. ("okano.naoki@fujitsu.com" <okano.naoki@fujitsu.com>) |
| Ответы |
RE: CR is not removed with psql -f command on Windows.
|
| Список | pgsql-bugs |
"okano.naoki@fujitsu.com" <okano.naoki@fujitsu.com> writes:
> When creating a function with the psql -f filename command, the prosrc in pg_proc catalog contains \r(CR).
Does that cause you any actual problems?
> But I expect \r to be deleted. Is this a bug?
I'm kind of inclined to ignore it, mainly because of the law of unintended
consequences: adding code to strip \r is likely to break some scenario
that's working fine for somebody else.
I see that psql opens -f files with PG_BINARY_R, but that seems to be
a very ancient decision so I'm hesitant to change it.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера