Re: Bytea/Base64 encoders for libpq - interested?

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: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Joerg Hessdoerfer <Joerg(dot)Hessdoerfer(at)sea-gmbh(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bytea/Base64 encoders for libpq - interested?
Date: 2001-09-04 00:48:22
Message-ID: 15728.999564502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Where did we leave this?

I don't think adding a datatype just to provide base64 encoding is
a wise approach. The overhead of a new datatype (in the sense of
providing operators/functions for it) will be much more than the
benefit. I think providing encode/decode functions is sufficient...
and we have those already, don't we?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-09-04 00:59:41 Re: Escaping strings for inclusion into SQL queries
Previous Message Tom Lane 2001-09-04 00:44:36 Re: Re: Escaping strings for inclusion into SQL queries

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2001-09-04 00:55:27 Re: Patch for pl/tcl Tcl_ExternalToUtf and
Previous Message Peter Eisentraut 2001-09-04 00:42:28 Re: Makefiles for building with mingw32 on win32