Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group