Re: OK button on restore

From: Andy Shellam <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: OK button on restore
Date: 2007-06-12 18:58:38
Message-ID: 466EECDE.30001@mailnetwork.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

That's great Dave, I'm sure it'll please many folks!!

Thanks

Andy.

Dave Page wrote:
> 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
>
> !DSPAM:37,466eaba6343941575920893!
>
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Erwin Brandstetter 2007-06-12 21:35:20 Re: New dev build for Windows
Previous Message Hiroshi Saito 2007-06-12 17:50:09 Re: Binaries of PGAdmin3 for RHEL5