pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: avinashyn (@avinashyn) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #3504: Wrong schemas fetched for a given catalog as input
Date: Mon, 17 Feb 2025 06:39:07 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Ok So I mentioned earlier that it was OK assuming that getSchemas() work based on the catalog passed in input which is not the case.
Let me explain my use-case.
In our UI - we show catalog and schema.
Based on the catalog selected, it's corresponding schema's will be shown.
Until 42.6 version, it was working perfectly as only the catalog passed in JDBC url was appearing and it's corresponding schemas's were shown but after we migrated to 42.7, it broke.
UI shows multiple catalogs but whichever option you select, it only fetches the schema which is passed in JDBC url which is wrong.
So In my opinion, either we need to fix getCatalogs() to get the proper catalog OR if we decide to get all catalogs from DB then their corresponding schemas should be fetched.
Either of the one needs to be fixed.
Please look into it and if you need PR for this please let me know the process so that I can create one.
Thanks.
view thread (25+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3504: Wrong schemas fetched for a given catalog as input
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox