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: [GENERAL] Prepared statement performance...: msg#00252

db.postgresql.jdbc

Subject: Re: [GENERAL] Prepared statement performance...

Barry Lind wrote:

Currently you probably can't. But given the information I have mentioned in my previous mails in this thread, I am not sure that you would really want to unless you somehow have the ability to do it statement by statement since in most cases I think you don't want to use server side prepared statements.

OK, so I understand you see a difference between a JDBC PrepareStatement and a server side prepared statement, and the first does not necessarily imply the second. I don't see that difference per se :) If I don't want to use a server side prepared statement I will make use of CreateStatement. But I can imagine that for some applications that are a bit more advanced as mine a more granular control is needed.

Would it be possible to have a parameter in the JDBC URL that would switch the behaviour with regard to server side prepared statements? Something like ?serverPrepare={always|statement|never} which defaults to statement (i.e. the setUseServerPrepare() you are suggesting).

Jochem


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org






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