Re: newline conversion in SQL command strings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: newline conversion in SQL command strings
Дата
Msg-id 505B1639.5020702@gmx.net
обсуждение исходный текст
Ответ на Re: newline conversion in SQL command strings  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: newline conversion in SQL command strings  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 9/20/12 2:01 AM, Heikki Linnakangas wrote:
> Could you strip the CRs? Either at CREATE FUNCTION time, or when the
> function is executed.

It has been proposed that the plsh handler should strip the CRs before
execution.  But I don't think that is a correct solution, because that
is user data which could be relevant.  It could be the case, for
example, that plsh is run on a Windows host with a particular shell that
requires CRLF line endings.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: ToDo: allow to get a number of processed rows by COPY statement [Review of Patch]
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Invalid optimization of VOLATILE function in WHERE clause?