Skip site navigation (1) Skip section navigation (2)

Re: pg_dump bud with functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ivan <Ivan-Sun1(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump bud with functions
Date: 2005-10-27 14:34:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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,

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

In response to


pgsql-bugs by date

Next:From: Stephan SzaboDate: 2005-10-27 14:45:34
Subject: Re: BUG #2003: Bug with SQL UPDATE on a NUMERIC
Previous:From: IvanDate: 2005-10-27 14:25:54
Subject: pg_dump bud with functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group