Thread: jdbc1 & debug

jdbc1 & debug

From
"Schmidt, Peter"
Date:
The jdbc1 driver would not compile until I modified Statement.java:

[javac]
/usr/src/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statem
ent.java:284: Missing term.

was:
    if (result != null) &&
((org.postgresql.ResultSet)result.reallyResultSet())

changed to:
    if (result != null &&
((org.postgresql.ResultSet)result).reallyResultSet())


Also, I'm trying to run performance tests with 71b4 but I'm seeing many
debug messages. How do I turn off debug?
I ran:
./configure
gmake
gmake install
etc.

Is the default for WAL_FILES zero? Should I be concerned with this message?
DEBUG:  XLogWrite: new log file created - try to increase WAL_FILES

Thanks,

Peter Schmidt
Prismedia Netwoks
pschmidt@prismedia.com

Re: jdbc1 & debug

From
Peter T Mount
Date:
Quoting "Schmidt, Peter" <peter.schmidt@prismedia.com>:

> The jdbc1 driver would not compile until I modified Statement.java:
>
> [javac]
> /usr/src/postgresql-7.1beta4/src/interfaces/jdbc/org/postgresql/jdbc1/Statem
> ent.java:284: Missing term.
>
> was:
>     if (result != null) &&
> ((org.postgresql.ResultSet)result.reallyResultSet())
>
> changed to:
>     if (result != null &&
> ((org.postgresql.ResultSet)result).reallyResultSet())

Looks like a typo. I'll check.

Peter

>
>
> Also, I'm trying to run performance tests with 71b4 but I'm seeing many
> debug messages. How do I turn off debug?
> I ran:
> ./configure
> gmake
> gmake install
> etc.

--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/