Ivan <Ivan-Sun1@mail.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,
Good ol' Windows :-(. Try writing the dump file with "pg_dump -f file"
instead of "pg_dump >file" ... does that make it better?
regards, tom lane