From: Richard Huxton <dev@archonet.com>
To: Dana Hudes <dhudes@tcp-ip.info>
To: pgsql-sql@postgresql.org
Subject: Re: bytea or blobs?
Date: Wed, 18 Feb 2004 09:44:42 +0000
Message-ID: <200402180944.42239.dev@archonet.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0402180116000.729@screamer.tcp-ip.info>
References: <E8D7DFA4-5C92-11D8-B55E-0003938366A4@ntlworld.com>
<200402180914.29318.sad@bankir.ru>
<Pine.LNX.4.58.0402180116000.729@screamer.tcp-ip.info>
On Wednesday 18 February 2004 06:44, Dana Hudes wrote:
>
> At least with base64 I have ample libraries and can convert my data
> before sending to sql or after receiving from sql. It becomes my
> application's issue. Mind, this bloats the data considerably.
> escape is less bloat but I have to recreate the encode/decode in my app,
> so far as I see.
Less bloat than you might expect - large values are TOASTed and compressed.
I'm guessing a lot of your redundancy will be eliminated.
Having said that, bytea's purpose in life is to store your binary data.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, dhudes@tcp-ip.info
Subject: Re: bytea or blobs?
In-Reply-To: <200402180944.42239.dev@archonet.com>
* 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