Re: Roadmap for FE/BE protocol redesign

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <inoue(at)tpf(dot)co(dot)jp>
Cc: <dpage(at)vale-housing(dot)co(dot)uk>, <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-14 08:47:03
Message-ID: 50177.80.177.99.193.1047631623.squirrel@ssl.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

It's rumoured that Hiroshi Inoue once said:
>> -----Original Message-----
>> From: Dave Page
>>
>> > -----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.
>
> The column name isn't there. If a field has its alias name the alias is
> there.

Ahh yes, you're right of course. The docs are a little sketchy on that
detail
(http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=protocol-message-formats.html).
Regards, Dave

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christof Petig 2003-03-14 09:11:06 Re: Roadmap for FE/BE protocol redesign
Previous Message Taral 2003-03-14 05:04:01 Re: No merge sort?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christof Petig 2003-03-14 09:11:06 Re: Roadmap for FE/BE protocol redesign
Previous Message Tom Lane 2003-03-14 03:47:30 Re: Upgrading the backend's error-message infrastructure