Registry - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Registry
Date
Msg-id 4374C6BA.6030708@pse-consulting.de
Whole thread Raw
List pgadmin-hackers
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

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Hide databases
Next
From: "Dave Page"
Date:
Subject: Re: Registry