Tom Lane wrote: > > "Dave Page" <[EMAIL PROTECTED]> writes: > > It's rumoured that Hiroshi Inoue once said: > >> Does looking up by the catalog keys take no cost ? > > > Obviously there is cost, but doing a lookup only on demand, has got to be > > cheaper in the long run than including the entire column definition in the > > message whether it's wanted or not? > > More to the point, the cost is paid by applications that want the > functionality, and not by those that don't. > > It'd probably be reasonable for client libraries to maintain a cache > of column info, so that they only have to query the backend about a > particular column ID once per connection. Is it a kind of thing that the server forces the clients easily ? Hmm as for PREPAREd statements, it seems much better to implement functions which returns fields info for the statement than relying on such a protocol level change. regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/ ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Zeugswetter Andreas SB SD
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Dave Cramer
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Merlin Moncure
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Hiroshi Inoue
- Re: [HACKERS] Roadmap for FE/BE protocol re... Dave Cramer
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Christopher Kings-Lynne
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Dave Page
- Re: [HACKERS] Roadmap for FE/BE protocol re... Hiroshi Inoue
- Re: [HACKERS] Roadmap for FE/BE protoco... Christopher Kings-Lynne
- Re: [HACKERS] Roadmap for FE/BE protoco... Hannu Krosing
- Re: [HACKERS] Roadmap for FE/BE protocol re... Hiroshi Inoue
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Tom Lane
- Re: [HACKERS] Roadmap for FE/BE protocol re... Andrew Dunstan
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Dave Page
- Re: [HACKERS] Roadmap for FE/BE protocol re... Hiroshi Inoue
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Dave Page
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Bruce Momjian
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Zeugswetter Andreas SB SD
- Re: [HACKERS] Roadmap for FE/BE protocol redesig... Peter Eisentraut