From: | Keith Fiske <keith(dot)fiske(at)crunchydata(dot)com> |
---|---|
To: | ezekii(dot)post(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15125: Cant set ApplicationName in Java... |
Date: | 2018-03-22 16:41:28 |
Message-ID: | CAODZiv7dRYGg9yXhAxjF66gT0Vev8m+zc9gGg3k7eDSO4vyfjw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Mar 21, 2018 at 4:31 PM, PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15125
> Logged by: Ezequiel Post
> Email address: ezekii(dot)post(at)gmail(dot)com
> PostgreSQL version: 9.6.8
> Operating system: Debian Jessie
> Description:
>
> Hello, I'm trying to set ApplicationName via JDBC driver, but the
> application_name never changes.
> Code:
> @Override
> @Transactional
> public Connection getConnection() throws SQLException {
> Properties props = new Properties();
> props.put("user", "postgres");
> props.put("password", "admin");
> props.put("ApplicationName", "wtha");
> Connection connection =
> DriverManager.getConnection("jdbc:postgresql://localhost:5433/TESTE",
> props);
> connection.setClientInfo("ApplicationName", "wth");
> return connection;
> }
>
> Tried with ?ApplicationName=any, but don't work too..
> Any help would be appreciate, thanks!
>
>
I can't offer much assistance on the issue itself, but have you tried
emailing the pgsql-jdbc mailing list?
https://www.postgresql.org/list/pgsql-jdbc/
https://www.postgresql.org/list/
--
Keith Fiske
Senior Database Engineer
Crunchy Data - http://crunchydata.com
From | Date | Subject | |
---|---|---|---|
Next Message | Ezequiel Post | 2018-03-22 16:53:47 | Re: BUG #15125: Cant set ApplicationName in Java... |
Previous Message | Keith Fiske | 2018-03-22 16:25:44 | Re: BUG #15126: bug report for pgAdmin 4 v2.1 |