Re: Roadmap for FE/BE protocol redesign

From: Christof Petig <christof(at)petig-baender(dot)de>
To:
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Barry Lind <blind(at)xythos(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Roadmap for FE/BE protocol redesign
Date: 2003-03-14 09:39:27
Message-ID: 3E71A34F.8040909@petig-baender.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Christof Petig wrote:
> If you know you are never interested in metadata, you can omit the
> describe flag at all. [null indication and type specification is of
> course always needed to access the actual data]

More exactly they are sent separately:
null indication is per row 'D'/'B' and type specification is per query 'T'.

If the client does not ask for metadata one might omit attrelid,attnum
(*) and field name in the 'T' packet. One might argue whether this small
win per query times column rectifies to implement the feature. But then
we'd need a method to query them lateron (otherwise *DBC could never
omit them at first).

Christof

*) they are not there, yet ;-)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Louis-David Mitterrand 2003-03-14 10:23:07 pg_dump crashes the backend
Previous Message Christof Petig 2003-03-14 09:11:06 Re: Roadmap for FE/BE protocol redesign

Browse pgsql-interfaces by date

  From Date Subject
Next Message Darko Prenosil 2003-03-14 12:29:32 Re: Upgrading the backend's error-message infrastructure
Previous Message Christof Petig 2003-03-14 09:11:06 Re: Roadmap for FE/BE protocol redesign