Dave,

When the server is not running the .plist file is not overwritten (at 00:59);
I’ve then renamed the .plist file. When I start the server again no .plist file 
appears. The config window stills contains my custom Browser Command; A new 
.plist file is generated when I change this command and click OK.

The .plist file contains among other things the Browser.LastSaveLocation. My 
new .plist file as well as the overwritten one contain a location which is 
nearly a year old. I don’t know what specific location is saved here but I have 
saved .sql and .csv files in the mean time.

pgadmin4 must be storing information somewhere else and I’ve not been able to 
find that location: it’s not within my user directory as far as I can see.

The .plist file is overwritten at 00:59, which is when a backup is scheduled. 
But lots of other things happen at that time, e.g. switchting of system.log 
files …
I’ll check next what happens if no backup is scheduled.

Since nobody else seems to experience this problem, it’s probbaly related to my 
specific set-up.

Regards,

P. De Visschere

> On 24 Jan 2019, at 10:32, Dave Page <dp...@pgadmin.org> wrote:
> 
> Hi
> 
> On Wed, Jan 23, 2019 at 3:46 PM Patrick De Visschere <pdvissch...@edpnet.be 
> <mailto:pdvissch...@edpnet.be>> wrote:
> Dave,
> 
> Apparently something weird is going on, but I did not save the configuration.
> 
> I saved it some days ago and today I noticed that the preferences file was 
> overwritten:
> 
> <pgadmin.jpeg>
> 
> As you can see a new file was created, and I was asleep at that time.
> On a previous occasion I checked with “Time Machine” and noticed that a new 
> file was created every day. I suppose this happens when no pgadmin-window is 
> open in any browser.
> 
> As long as I keep the server running, the browser command remains visible in 
> the config window:
> 
> <pgadmin_config.jpeg>
> 
> The command is also executed correctly when asking for a new window, although 
> the browser command is not longer present in the preferences file.
> (I’m still running version 3.x)
> 
> Yeah, that implies that the file is being changed from underneath pgAdmin, as 
> it'll only read it on startup iirc.
> 
> If you shut down pgAdmin, remove (well, rename) the file, and then leave your 
> machine overnight, does it re-appear?
>  
> -- 
> Dave Page
> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com/>
> Twitter: @pgsnake
> 
> EnterpriseDB UK: http://www.enterprisedb.com <http://www.enterprisedb.com/>
> The Enterprise PostgreSQL Company


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to