public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Tyler Brock <[email protected]>
To: David G. Johnston <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: DataRow message for Integer(int4) returns result as text?
Date: Thu, 21 Apr 2022 15:56:58 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CACr_h8Qa4hBd7quvLG4SY1P0nNoth3nWQunzCtk9-jWsHBHaLA@mail.gmail.com>
References: <CACr_h8QSz4k9KckE7MTspYnHbkLLKmM0WyvfNpWzVF50SZMoPw@mail.gmail.com>
	<CAKFQuwYbhCmAJhxg42s+dtw72PgHN=Quj81xXWWMkMaZNhxnBA@mail.gmail.com>
	<CACr_h8Qa4hBd7quvLG4SY1P0nNoth3nWQunzCtk9-jWsHBHaLA@mail.gmail.com>

On 21.04.22 02:11, Tyler Brock wrote:
> What I don’t understand is that if I respond to psql with the 
> RowDescription indicating the format code is 1 for binary (and encode it 
> that way, with 4 bytes, in the DataRow) it doesn’t render the number in 
> the results.

psql only handles results in text format.







view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: DataRow message for Integer(int4) returns result as text?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox