Re: Some small UI improvements for backups/restores - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Some small UI improvements for backups/restores
Date
Msg-id 1361643897.15634.75.camel@localhost.localdomain
Whole thread Raw
In response to Some small UI improvements for backups/restores  (Bastiaan Olij <bastiaan@basenlily.me>)
List pgadmin-support
Hi,

On Thu, 2013-02-21 at 07:23 +1100, Bastiaan Olij wrote:
> [...]
> For those who are tinkering away at the product, here are two small
> suggestions that would improve my life loads:)
> 
> When performing a backup or a restore could the title of the window
> (currently empty) show the database you are about to backup/restore into?

This was something I wanted to do since quite a long time. I pushed a
fix on this issue.

> Also could you add a check before running a restore that checks if there
> is already data in the database you are about to restore into?

I don't see how we could do such a thing reliably. And you may have data
but don't care because you really want to add data over old one.

> I've had a few times now that I selected the wrong database and
> restoring into a database that already has data in it gets really really
> messy:)
> 

Yeah, I understand the use case, it happened to some of my customers
(though not with pgAdmin), and they were pretty angry with it.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com





pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Problem with pgAdmin and Server Status encode
Next
From: Guillaume Lelarge
Date:
Subject: Re: query saved during crash