Thread: bug - when Restore env option

bug - when Restore env option

From
"李飞"
Date:
PostgreSQL version: 8.2.4
pgAdmin version:1.8.0 beta2
Operating system: Windows XP SP2

Details:   1. connect to the server. in  treeview open one schema (etc ,public)   2. select server and executing
"properties"  3. turn Restore env option on and click Ok button to save properties   4. close pgadmin   5. start
pgadminand connect to the server. and then public schema
 
will be selected and opened.   6. right click public schema. "Backup server ..."  will display in PopMenu.   7. click
Backupserver ... then a fatal error has occurred
 


I do this many times and  a fatal error  still be occurred.


Re: bug - when Restore env option

From
Dave Page
Date:
李飞 wrote:
> PostgreSQL version: 8.2.4
> pgAdmin version:1.8.0 beta2
> Operating system: Windows XP SP2
> 
> Details:
>     1. connect to the server. in  treeview open one schema (etc ,public)
>     2. select server and executing "properties"
>     3. turn Restore env option on and click Ok button to save properties
>     4. close pgadmin
>     5. start pgadmin and connect to the server. and then public schema
> will be selected and opened.
>     6. right click public schema. "Backup server ..."  will display in PopMenu.
>     7. click Backup server ... then a fatal error has occurred

The problem is that that menu option shouldn't be displayed for a
schema. I've fixed a bug which caused the menu for a server object to be
used immediately following connection (and environment restore) - it now
displays the correct menu for any object type.

Thanks, Dave.