logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: NOTICE causing SQLException: msg#00165

db.postgresql.jdbc

Subject: Re: NOTICE causing SQLException

Daniel,

There was a bug in the way the 7.2 driver handled notices under some circumstances. This should be fixed in the 7.3 driver. Can you try the latest driver build from jdbc.postgresql.org to verify that the code changes fix the problem in your case?

thanks,
--Barry



Daniel Serodio wrote:
On Tue, 2002-09-17 at 11:56, Andrew Sullivan wrote:

On Tue, Sep 17, 2002 at 11:40:33AM -0300, Daniel Serodio wrote:


*** TerminalManagerError connecting to the DataBase: Something unusual has occured to cause the driver to fail. Please report
this exception: Exception: java.sql.SQLException: NOTICE: Query
statistics are disabled because parser, planner, or executor statistics
are on.

There's a series of statistics settings in the postgresql.conf file. They cannot all be turned on. You're probably right in thinking that
this is a mistake the driver is making, because that is just a NOTICE
and not an ERROR. Anyway, you can put the statistics pieces back the
way they were, and SIGUP the postmaster, and you should be set. The
settings you want are

#show_parser_stats = false
#show_planner_stats = false
#show_executor_stats = false
#show_query_stats = false

(Those are the defaults.) If any of parser, planner, or executor are
true, the query ones are unavailable.


Hi, thanks for the quick reply. That's what he (the DBA) did to get the
system up again, after I told him to undo whatever changes he had done
to postgresql.conf. However, I think the JDBC driver really should
handle NOTICEs more gracefully.



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster






Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo