Re: pg_dump bud with functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump bud with functions
Дата
Msg-id 18862.1130423676@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump bud with functions  (Ivan <Ivan-Sun1@mail.ru>)
Ответы Re: pg_dump bud with functions  (Ivan <Ivan-Sun1@mail.ru>)
Re: pg_dump bud with functions  (Ivan <Ivan-Sun1@mail.ru>)
Список pgsql-bugs
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

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #2002: shows version wronly
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: BUG #2003: Bug with SQL UPDATE on a NUMERIC