Re: Roadmap for FE/BE protocol redesign

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <ZeugswetterA(at)spardat(dot)at>, <pgman(at)candle(dot)pha(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Roadmap for FE/BE protocol redesign
Date: 2003-03-13 19:20:57
Message-ID: 03AF4E498C591348A42FC93DEA9661B8259DA3@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> Sent: 13 March 2003 10:04
> To: Dave Page
> Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us; ZeugswetterA(at)spardat(dot)at;
> pgman(at)candle(dot)pha(dot)pa(dot)us; pgsql-hackers(at)postgresql(dot)org;
> pgsql-interfaces(at)postgresql(dot)org
> Subject: Re: [HACKERS] Roadmap for FE/BE protocol redesign
>
>
> Dave Page wrote:
> >
> > 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?
>
> So if there are 100 fields, should we ask the backend
> the column name 100 times ?

No, the column name is there already. This is useful for additional info
such as uniqueness, nullability, default value, contraints and so on.
Surely you don't want to get the entire relevant bits of the system
catalogues with every query unless we specifically request it?

Regards, Dave.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2003-03-13 19:24:45 Re: Problems with win32 patch/build
Previous Message Merlin Moncure 2003-03-13 19:03:04 Problems with win32 patch/build

Browse pgsql-interfaces by date

  From Date Subject
Next Message Barry Lind 2003-03-13 20:15:04 Re: Roadmap for FE/BE protocol redesign
Previous Message Tom Lane 2003-03-13 17:41:41 Re: Roadmap for FE/BE protocol redesign