Re: Roadmap for FE/BE protocol redesign - Mailing list pgsql-hackers

From Dave Page
Subject Re: Roadmap for FE/BE protocol redesign
Date
Msg-id 50073.80.177.99.193.1047549156.squirrel@ssl.vale-housing.co.uk
Whole thread Raw
In response to Re: Roadmap for FE/BE protocol redesign  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Responses Re: Roadmap for FE/BE protocol redesign
List pgsql-hackers
It's rumoured that Hiroshi Inoue once said:
> Tom Lane wrote:
>>
>> "Dave Page" <dpage@vale-housing.co.uk> 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?
Regards, Dave.




pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: bug in setval?
Next
From: Hiroshi Inoue
Date:
Subject: Re: Roadmap for FE/BE protocol redesign