Registry

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Miha Radej <miha(dot)radej(at)siix(dot)com>, pgadmin-hackers(at)postgresql(dot)org
Subject: Registry
Date: 2005-11-11 16:28:42
Message-ID: 4374C6BA.6030708@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

going to -hackers
>>>>
>>>>The registry format changed a day ago; the old was getting
>>>>too crowded.
>>>>1.5 will convert from older versions.
>>>
>>>
>>>Oh, is that what deleted all my servers? Took me ages to
>>
>>put them back
>>
>>>again :-(
>>
>>Um yes, old registry entries are deleted after creation in the new
>>location to avoid that new entries are overwritten by old ones.
>
>
> Whatever killed mine off didn't delete them, it just set all the
> settings to empty strings so I had lots of servers like: (:0) as Miha
> did :-(

1.5 *does* delete the values, but wx will read a non-existent value as
empty and recreate it.

>
> What's also odd, is that looking in the registry, I still seem to be
> using the old format having re-added my servers. Obviously I haven't
> picked up the change yet, which makes me wonder what blew all the
> entries away.
>
> /D
>
> PS. Just rebuilt - settings upgraded fine. Now how do I test fixes in
> 1.4.x without getting in a mess I wonder...

Any suggestions?
We could copy them over, if newer don't exist, and leave the old ones.
But this would leave quite some (pre-1.5) garbage.

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2005-11-11 16:32:34 Re: Registry
Previous Message Dave Page 2005-11-11 16:23:16 Re: problem adding a foreign key in v1.5 and a

Browse pgadmin-support by date

  From Date Subject
Next Message A.j. Langereis 2005-11-11 17:28:24 Feature requests
Previous Message Dave Page 2005-11-11 16:23:16 Re: problem adding a foreign key in v1.5 and a