Re: PL/Python patch for Universal Newline Support

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: PL/Python patch for Universal Newline Support
Дата
Msg-id 3470.24.211.165.134.1111395020.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: PL/Python patch for Universal Newline Support  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-patches
Michael Fuhr said:
> On Mon, Mar 21, 2005 at 03:02:57AM -0500, Tom Lane wrote:
>>
>> One thing that needs some thought is how you are going to test this
>> robustly.  I'd not feel any great deal of confidence in a test that
>> expects that we can push \r\n sequences into CVS and expect them to
>> survive unmodified into distributed filesets.  Every so often someone
>> commits a DOS-newlines file into CVS, and they hear about it PDQ...
>
> We're testing what happens when \r gets into prosrc, right?  Shouldn't
> creating the function with \r in single quotes instead of dollar
> quotes work, as in the tests I showed in my original submission?
>

Yes - also worked in testing CSV multiline support - see copy regression
test.
cheers

andrew



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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: PL/Python patch for Universal Newline Support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/Python patch for Universal Newline Support