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

Re: OK button on restore

From: Dave Page <dpage(at)postgresql(dot)org>
To: andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk
Cc: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>, pgadmin-support(at)postgresql(dot)org
Subject: Re: OK button on restore
Date: 2007-06-12 14:20:14
Message-ID: 466EAB9E.4020502@postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-support
Andy Shellam wrote:
> Yep I agree, with pg_restore, warnings also generate a non-zero return
> code, but the restore does complete successfully, so this is mis-leading.
> An example is "language <xxx> already exists" - pg_restore just throws a
> warning to let you know this, but the restore is successful.
> 
> Perhaps what might work better is a message box - if you've already
> performed a restore but it returned non-zero, and OK is pressed again in
> the same dialogue box, throw up a message saying something like "you've
> already attempted a restore, are you sure you want to run it again?"

Now thats a solution I'm happy with - I've added code to do this, if a
restore (or backup) is attempted from the same dialog invocation, with
the same filename as previously used.


Thanks, Dave

In response to

Responses

pgadmin-support by date

Next:From: Dave PageDate: 2007-06-12 14:50:19
Subject: Re: Crash on saving
Previous:From: Devrim GÜNDÜZDate: 2007-06-12 14:13:21
Subject: Re: Binaries of PGAdmin3 for RHEL5

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