Re: bug report - Mailing list pgadmin-support

From Dave Page
Subject Re: bug report
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40176CFF4@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Re: bug report  (Sim Zacks <sim@compulab.co.il>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Sim Zacks
> Sent: 25 September 2006 06:51
> To: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] bug report
>
> > The design is intended to allow you to modify options and
> try again, or
> > to cancel the whole operation. I'm not sure how that's any different
> > from any of the other dialogues - click the OK button and
> an attempt is
> > made to create an object for example - if an error occurs
> you can change
> > options and try OK again, or hit Cancel to abort.
>
> The difference is when there are only warnings, that means the restore
> was completed. If you click OK then it will try to restore it again
> over the restore that you already did, which will either completely
> fail, causing confusion as to exactly what happened or somehow import
> again causing untold grief.

We don't know whether there have been errors or warnings though - we
rely on the return value from pg_restore to tell us if the restore has
been successful or not. I'm not even sure if we can grep the output for
'ERROR' because that may be localised.

Regards, Dave


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Failed to write to favorites file !
Next
From: "Raymond O'Donnell"
Date:
Subject: Re: Weird problem