Re: Bytea binary compatible

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Bytea binary compatible
Date: 2001-06-24 00:39:22
Message-ID: 9258.993343162@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Here is a patch to make bytea binary compatible with other text data
> types. Comments?

No way! Unless you propose to make the text types null-safe (which
would mean such nontrivial projects as replacing strcoll()).

The fact that the storage formats are both struct varlena does not
mean that these types are interchangeable. I fail to see where it'd
be a good idea to mark them binary-compatible, even if there weren't
serious implementation issues.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-06-24 02:43:02 Re: Bytea binary compatible
Previous Message Bruce Momjian 2001-06-23 22:21:13 Re: use GUC for cmdline