Re: Suppressing occasional failures in copy2 regression test
От | Gurjeet Singh |
---|---|
Тема | Re: Suppressing occasional failures in copy2 regression test |
Дата | |
Msg-id | 65937bea0906211446q2a15d992uf7e8833a643a652b@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Suppressing occasional failures in copy2 regression test (David Fetter <david@fetter.org>) |
Ответы |
Re: Suppressing occasional failures in copy2 regression
test
|
Список | pgsql-hackers |
On Sun, Jun 21, 2009 at 11:37 PM, David Fetter <david@fetter.org> wrote:
I am not implying or expecting that we have \r\n in our test suite.
Its just that maybe my mail client introduced \r\n while downloading the old attachments, or probably my quite capable Notepad++ converted these files from \n to \r\n! I am not too sure. But it sure cost me a few cycles to realize that the files I copied from my Windows host to my Fedora VM were just not the thing perl would like.
On Sun, Jun 21, 2009 at 10:36:04PM +0530, Gurjeet Singh wrote:Why would \r\n be in our code base anyhow?
> On Sat, Jun 20, 2009 at 2:06 AM, Alvaro Herrera
> <alvherre@commandprompt.com>wrote:
>
> > About the comment in chomp: did you try to use different values of $/?
> >
> >
> Well, now that I have tried it, yes, setting $/ to '\r\n' does give me what
> I expected. Both expected and result files should have the same kind of line
> endings though.
I am not implying or expecting that we have \r\n in our test suite.
Its just that maybe my mail client introduced \r\n while downloading the old attachments, or probably my quite capable Notepad++ converted these files from \n to \r\n! I am not too sure. But it sure cost me a few cycles to realize that the files I copied from my Windows host to my Fedora VM were just not the thing perl would like.
Best regards,
--
Lets call it Postgres
EnterpriseDB http://www.enterprisedb.com
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com
Mail sent from my BlackLaptop device
В списке pgsql-hackers по дате отправления: