Protocol & Transmitted Field Data

From: Greg <grigorey(at)yahoo(dot)co(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Protocol & Transmitted Field Data
Date: 2010-07-04 16:00:25
Message-ID: 438220.6229.qm@web24304.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi everyone,

I have a question regarding field format used to transmit data (when data is transmitted over the protocol): Is there a way to change field format used by database to transmit data from text to binary?

Whats happening: I have 2 columns in a table, both integers, when they transmitted over to client, their values transmitted as a collection of characters e.g. number 1234567 represented as '1' '2' '3' '4' '5' '6' '7' instead of using 4 bytes for int4

Thanks!

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Kenneth Marshall 2010-07-04 16:07:07 Re: Protocol & Transmitted Field Data
Previous Message Tom Lane 2010-07-02 20:23:06 Re: Bind variables