Re: pg_dump bud with functions

From: Ivan <Ivan-Sun1(at)mail(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump bud with functions
Date: 2005-10-31 09:24:09
Message-ID: 927759848.20051031122409@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

TL> Ivan <Ivan-Sun1(at)mail(dot)ru> writes:
>> When I create a function in sql or plpgsql languages,
>> their body text is stored in the database files with
>> 0D 0A line ends (I checked it in a hex editor).

>> If I create plain backup using pg_dump
>> it generates functions with
>> 0D 0D 0A on the end of the body lines,

TL> Good ol' Windows :-(. Try writing the dump file with "pg_dump -f file"
TL> instead of "pg_dump >file" ... does that make it better?

This problem is actual for pg_dumpall because there is no -f file
option for it - output is always written to standard output.
Is it possible to add this option to pg_dumpall too?

Thank you for support!

--
Best regards,
Ivan mailto:Ivan-Sun1(at)mail(dot)ru

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message jmreymond 2005-10-31 16:24:29 BUG #2011: warning during link of plperl
Previous Message Tomas Zerolo 2005-10-31 04:39:56 Re: importing from 8.0.3 unicode problem