pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wilhansen Li <willi.t1@gmail.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Bytea network traffic: binary vs text result format
Date: Mon, 4 Jun 2007 22:51:13 +0800
Message-ID: <bc9549a50706040751k313ef481t88b8966d42941ef9@mail.gmail.com> (raw)
In-Reply-To: <46640B8F.8040503@bluegap.ch>
References: <466299A7.20403@eba.si>
	<46640B8F.8040503@bluegap.ch>

On 6/4/07, Markus Schiltknecht <markus@bluegap.ch> wrote:
>
>
> There already are. Not in libpq, though. Most (if not all) internal
> types have those functions.


Well, I don't think it would be puzzling that someone will ask for them even
if those functions already exist in PostgreSQL because, as you stated, it's
not in libpq. People will actually have to dig in the source to pinpoint
where in the source tree those functions exist and how to include them in
the program, which, I assume, is less ideal than when it's already included
in libpq in the first place. There was a post before on a user who got
disappointed because of the "crappy" support of libpq (not PostgreSQL) for
binary formats.

In line with this, I'm aware of the issues that this may pose:
http://archives.postgresql.org/pgsql-hackers/1999-08/msg00374.php this is
already very old (8 years
ago!). And they discuss about the issue that the representation might
change from version to version so it's not done. There have been plans
to incorporate CORBA,
which IMHO is an overkill,
to solve this problem but I don't think it's done yet because it's
probably too complex (?). I'd rather recommend them to use
ASN.1 (if that's feasible..).


-- 
Life is too short for dial-up.

view thread (4+ messages)  latest in thread

Message-ID: <bc9549a50706040751k313ef481t88b8966d42941ef9@mail.gmail.com>
Permalink:  ../bc9549a50706040751k313ef481t88b8966d42941ef9@mail.gmail.com/
Also on:    postgresql.org/message-id/bc9549a50706040751k313ef481t88b8966d42941ef9@mail.gmail.com

 · 

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-interfaces@postgresql.org
  Cc: willi.t1@gmail.com
  Subject: Re: Bytea network traffic: binary vs text result format
  In-Reply-To: <bc9549a50706040751k313ef481t88b8966d42941ef9@mail.gmail.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