From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vadim Nasardinov <vadimn@redhat.com>
Cc: Sebastiaan van Erk <sebster@sebster.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: \0 and IllegalArgumentException
Date: Fri, 29 Oct 2004 11:36:38 -0400
Message-ID: <16500.1099064198@sss.pgh.pa.us> (raw)
In-Reply-To: <200410291024.03718@vadim.nasardinov>
References: <1099043710.595.50.camel@localhost>
<200410291024.03718@vadim.nasardinov>
Vadim Nasardinov <vadimn@redhat.com> writes:
> I think you do have a point though when you say that \0 should be
> allowed (and handled properly).
Don't hold your breath.
Moving away from the zero-terminated-string approach would require
protocol changes (IIRC, the v3 protocol still depends on that in places),
a massive rewrite effort to change every datatype's I/O functions, plus
writing our own locale library because we couldn't use strcoll()
anymore. And that's just the impacts I can think of before having
had any coffee ;-)
While the private locale library might eventually happen anyway, the
other two things are still daunting, mainly because they break a ton of
user code not only the backend.
Basically, the bang for the buck doesn't seem to be there...
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, vadimn@redhat.com, sebster@sebster.com
Subject: Re: \0 and IllegalArgumentException
In-Reply-To: <16500.1099064198@sss.pgh.pa.us>
References: <1099043710.595.50.camel@localhost> <200410291024.03718@vadim.nasardinov> <16500.1099064198@sss.pgh.pa.us>
* 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