Re: protocol change in 7.4

From: korry <korry(at)starband(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: protocol change in 7.4
Date: 2002-11-07 20:24:10
Message-ID: 5.1.0.14.0.20021107151457.0437bfa8@pop.starband.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>There has been some previous discussion of changing the FE/BE protocol
>in 7.4, in order to fix several problems. I think this is worth doing:
>if we can resolve all these issues in a single release, it will lessen
>the upgrade difficulties for users.

Here are a couple of other changes you might consider (maybe these changes
already exist and I just don't know about them):

a) Make much of the metadata sent to the client optional. When I execute
20 fetches against the same cursor, I don't need the same metadata 20
times. For narrow result sets, the metadata can easily double or triple
the number of bytes sent across the net. It looks like the protocol needs
the field count, but everything else seems to be sent for the convenience
of the client application.

b) Send a decoded version of atttypmod - specifically, decode the
precision and scale for numeric types.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurette Cisneros 2002-11-07 20:24:46 Re: 7.3b5 contrib compile problem
Previous Message Thomas Lockhart 2002-11-07 20:09:41 Re: CREATE TABLE/AS does not allow WITH OIDS?