Re: [PATCH] by request: base64 for bytea

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] by request: base64 for bytea
Date: 2001-06-24 02:46:46
Message-ID: 9486.993350806@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marko Kreen <marko(at)l-t(dot)ee> writes:
> Question to -hackers: currently there is not possible to cast
> bytea to text and vice-versa. Is this intentional or bug?

Intentional. text and friends do not like embedded nulls.

If there were a cast it would have to be one that implies
an I/O conversion, just like any other type that contains
non-textual data.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Cramer 2001-06-24 03:46:41 RE: Instrumenting and Logging in JDBC
Previous Message Bruce Momjian 2001-06-24 02:46:09 Re: [PATCH] Re: Setuid functions