Re: [BUGS] BUG #7590: Data corruption using pg_dump only with -Z parameter

2012-10-09 Thread Jan Vodička
So is there any way how to get plain sql from this "corrupted" backup? It would be nice to mention this behavior in manual. 2012/10/9 Tom Lane > hrt...@gmail.com writes: > > The following bug has been logged on the website: > > Bug reference: 7590 > >

Re: [BUGS] BUG #7590: Data corruption using pg_dump only with -Z parameter

2012-10-09 Thread Jan Vodička
e. 2012/10/9 Ryan Kelly > On Tue, Oct 09, 2012 at 02:20:40PM +, hrt...@gmail.com wrote: > > The following bug has been logged on the website: > > > > Bug reference: 7590 > > Logged by: Jan Vodička > > Email address: hrt...@gmail.com >

Re: [BUGS] BUG #7590: Data corruption using pg_dump only with -Z parameter

2012-10-13 Thread Jan Vodička
> > so either my diagnosis is wrong or there's some reason why that setting > didn't take. > > regards, tom lane > -- Jan Vodička

Re: [BUGS] BUG #7590: Data corruption using pg_dump only with -Z parameter

2012-10-13 Thread Jan Vodička
That would be definitely much more comfortable solution. Problem was really in newlines \n vs. \r\n. Replace \r\n -> \n solved problem. Thanks a lot. 2012/10/13 Craig Ringer > On 10/10/2012 03:07 AM, Jan Vodička wrote: > >> = not able to unpack, invalid >> >>