Re: Require suggestions on issue #7811 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Require suggestions on issue #7811
Date
Msg-id CA+OCxowvD+kUSm19KijKTNzY9CNBPE=oRS1T84vCmSjqOX4y0Q@mail.gmail.com
Whole thread Raw
In response to Require suggestions on issue #7811  (Pravesh Sharma <pravesh.sharma@enterprisedb.com>)
Responses Re: Require suggestions on issue #7811
List pgadmin-hackers
Hi

On Tue, 3 Sept 2024 at 09:10, Pravesh Sharma <pravesh.sharma@enterprisedb.com> wrote:
Hi Hackers,

I am working on issue #7811, where using an external database for storing pgAdmin configuration results in duplicate server entries when a container with a mapped servers.json file is restarted.


The proposed solution is to implement a check when loading servers. We would verify the server’s name, host, port, and username to determine if the server already exists in the database. If it does, we would skip registering it again.


Please share any suggestions or feedback on this approach.


I would say "Won't fix". If someone is using persistent storage for settings, why launch containers to import the same servers over and over again? Just load them once, manually. 

--
Dave Page
PostgreSQL: https://www.postgresql.org

PGDay UK 2024, 11th September, London: https://2024.pgday.uk/

pgadmin-hackers by date:

Previous
From: Pravesh Sharma
Date:
Subject: Require suggestions on issue #7811
Next
From: Pravesh Sharma
Date:
Subject: Re: Require suggestions on issue #7811