Re: Problem do backup/restore for empty database

From: Denis Perchine <dyp(at)perchine(dot)com>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem do backup/restore for empty database
Date: 2000-10-21 11:33:14
Message-ID: 0010211833141N.17427@dyp.perchine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> >I tried to do backup/restore of empty database.
> >And get the following error:
> >
> >Archiver(db): Could not execute query. Code = 7. Explanation from backend:
> >'ERROR: OperatorDef: operator "=" already defined
> >'.
> >
> >Another funny thing is that dump of empty database occupies 657614 bytes.
> >It is quite much...
>
> Works fine for me. What command are you using? What does

pg_dump --blob -Fc test3 -f test3.tar -v
pg_restore test3.tar --db=test4 -v

> pg_restore archive-file-name

pg_restore test3.tar produces 688634 bytes length.

pg_restore -l test3.tar produces long list. Here there are some first lines:

;
; Archive created at Sat Oct 21 18:05:33 2000
; dbname: test3
; TOC Entries: 2899
; Compression: -1
; Dump Version: 1.4-17
; Format: CUSTOM
;
;
; Selected TOC Entries:
;
2338; 15 OPERATOR = postgres

> produce?
>
> Have you done anything nasty to template1?

Just initdb.

--
Sincerely Yours,
Denis Perchine

----------------------------------
E-Mail: dyp(at)perchine(dot)com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Denis Perchine 2000-10-21 11:36:28 Re: Patch to support transactions with BLOBs for current CVS
Previous Message Denis Perchine 2000-10-21 11:19:37 Patch to support transactions with BLOBs for current CVS