pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Igor Shevchenko <igor@carcass.ath.cx>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: bytea or blobs?
Date: Fri, 20 Feb 2004 14:42:13 +0200
Message-ID: <200402201442.13869.igor@carcass.ath.cx> (raw)
In-Reply-To: <Pine.LNX.4.44.0402180856300.19088-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0402180856300.19088-100000@matrix.gatewaynet.com>

On Wednesday 18 February 2004 09:18, you wrote:
> Maybe if bandwidth is a restriction the base64 solution
> saves some bandwith, since base64 file is ~ 1.3 times larger
> than the original, whereas the escaped octal representation
> will be ~ 4 times larger.

If you use libpq's v3 protocol with binary format (PostgreSQL 7.4+), the 
overhead is minimal both ways.

-- 
Best regards,
Igor Shevchenko



view thread (14+ messages)  latest in thread

Message-ID: <200402201442.13869.igor@carcass.ath.cx>
Permalink:  ../200402201442.13869.igor@carcass.ath.cx/
Also on:    postgresql.org/message-id/200402201442.13869.igor@carcass.ath.cx

 · 

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: pgsql-sql@postgresql.org
  Cc: igor@carcass.ath.cx, achill@matrix.gatewaynet.com
  Subject: Re: bytea or blobs?
  In-Reply-To: <200402201442.13869.igor@carcass.ath.cx>

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

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