Re: user can't access own database after creation - Mailing list pgsql-jdbc

From Nuno Zimas
Subject Re: user can't access own database after creation
Date
Msg-id 9C9EB124-5C7C-48B3-BF8D-52B8A7A88F36@gmail.com
Whole thread Raw
In response to Re: user can't access own database after creation  (Nuno Zimas <nzimas@gmail.com>)
Responses Re: user can't access own database after creation  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
The programmer says that she relies on JPA to establish the connection, but I suppose that JDBC is still involved, otherwise i can’t see how java would talk to postgresql. 
Unless JPA does so directly.
Like I said, Java really isn’t my thing.



On 2 Dec 2015, at 22:05, Nuno Zimas <nzimas@gmail.com> wrote:


Thanks a lot, everyone (and specially Dave Cramer).
Now I know the issue is not JDBC related.
Not sure of this is good news for me, though :)

I’d think that the application needs to be amended.
Still, this does not account for the fact that it works on a local win machine.

As you can see, Dave’s little program connects like a charm,

2015-12-02 17:00:22 EST [2408-1] postgres@postgres LOG:  duration: 16.239 ms  parse <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-2] postgres@postgres LOG:  duration: 0.023 ms  bind <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-3] postgres@postgres LOG:  duration: 0.031 ms  execute <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-4] postgres@postgres LOG:  duration: 0.217 ms  parse <unnamed>: select 1
2015-12-02 17:00:22 EST [2408-5] postgres@postgres LOG:  duration: 0.100 ms  bind <unnamed>: select 1
2015-12-02 17:00:22 EST [2408-6] postgres@postgres LOG:  duration: 0.953 ms  execute <unnamed>: select 1



On 2 Dec 2015, at 21:45, Dave Cramer <pg@fastcrypt.com> wrote:

log_min_duration


pgsql-jdbc by date:

Previous
From: Nuno Zimas
Date:
Subject: Re: user can't access own database after creation
Next
From: Dave Cramer
Date:
Subject: Re: user can't access own database after creation