Dave Page wrote:
>
> It's rumoured that Hiroshi Inoue once said:
> > Tom Lane wrote:
> >>
> >> "Dave Page" <[EMAIL PROTECTED]> writes:
> >> > No, but with them we can avoid cluttering the wire protocol with
> >> > fields for all this, and the JDBC required data. With 2 numeric
> >> > columns (attrelid, attnum), any application/interface can query the
> >> > system catalogs easily for whatever extra info they like.
> >>
> >> This is my feeling also. We shouldn't try to guess in the protocol
> >> exactly what set of information will be wanted by a frontend; we
> >> should just provide the catalog keys needed to look up whatever is
> >> wanted.
> >
> > 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?
So if there are 100 fields, should we ask the backend
the column name 100 times ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- Re: [HACKERS] Roadmap for FE/BE protocol re... Bruce Momjian
- Re: [HACKERS] Roadmap for FE/BE protoco... Andrew Dunstan
- 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... 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
