The backups were deleted. I need them to use pg_restore.
Em 13/07/2015 21:18, "Michael Paquier" <michael.paqu...@gmail.com> escreveu:

> On Tue, Jul 14, 2015 at 9:28 AM, David Guimaraes <skys...@gmail.com>
> wrote:
> > So I decided to try to understand the file format generated by
> > pgdump. Analyzing the source code of pgdump/recovery, i concluded a few
> > things:
> >
> > The header of the file always starts with "PGDMP" followed by pgdump
> version
> > number used, followed by int size, offset, etc. followed by TOCs.
> >
> > My question is how to know the end of the file? Are there any signature
> that
> > I can use? Or would have to analyze the whole file?
>
> Why are you trying to reinvent the wheel? pg_restore is not available?
> --
> Michael
>

Reply via email to