From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Nuno Zimas <nzimas(at)gmail(dot)com> |
Cc: | John R Pierce <pierce(at)hogranch(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: user can't access own database after creation |
Date: | 2015-12-02 21:45:41 |
Message-ID: | CADK3HHKOoW2gAC_bB098+tN2BLcxSiybjM4gpNi00UP9tqHkPg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Yes, that is correct,
pgsql will only log if you tell it. set log_min_duration in postgresql.conf
to 0 and it will log it
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
On 2 December 2015 at 16:44, Nuno Zimas <nzimas(at)gmail(dot)com> wrote:
>
> Thanks Dave.
> It was missing the db bit.
>
> Now it executes silently and there are no vestiges on the pgsql log.
> Guess it means that it’s working, but should’t pgqsl log the select
> statement?
>
> On 2 Dec 2015, at 21:15, Nuno Zimas <nzimas(at)gmail(dot)com> wrote:
>
> root(at)aida2next /u/2next# java -cp
> /usr/2next/libs/jdbc/postgresql-9.4-1201.jdbc4.jar:./ TestUrl
> Exception in thread "main" java.sql.SQLException: No suitable driver found
> for jdbc:postgresql://10.10.10.100
> at java.sql.DriverManager.getConnection(DriverManager.java:689)
> at java.sql.DriverManager.getConnection(DriverManager.java:247)
> at TestUrl.main(TestUrl.java:10)
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Nuno Zimas | 2015-12-02 22:05:57 | Re: user can't access own database after creation |
Previous Message | Nuno Zimas | 2015-12-02 21:44:40 | Re: user can't access own database after creation |