|
|
Choosing A Webhost: |
Re: [HACKERS] RQ: Prepared statements used by multiple connections: msg#00081db.postgresql.odbc
> > ... a prepared version that is local to the backend that invokes the > > function, yes (i.e. it will be planned once per backend). So ISTM this > > is equivalent functionality to what you can get using PREPARE or the > > extended query protocol. > > Are you sure it's only per-backend? I thought I tested it and it seemed > to prepare it everywhere... oh well. Plpgsql functions at the least are compiled by each backend. I take advantage of this...I use schemas and I don't have to keep a copy of the function for each dataset. I think vanilla sql functions might be different. > Either way, it avoids the problem with prepared queries in that you > cannot know in advance if your query has already been prepared or not. Yep. I like things the way they are, but I can feel the pain of applications that don't (or can't) keep connections open. Merlin ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: RQ: Prepared statements used by multiple connections, Bojidar Mihajlov |
|---|---|
| Next by Date: | ODBC bug?, Joost Kraaijeveld |
| Previous by Thread: | Backslash parsing, aboster |
| Next by Thread: | ODBC bug?, Joost Kraaijeveld |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |