Re: Bytea/Base64 encoders for libpq - interested? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Bytea/Base64 encoders for libpq - interested?
Date
Msg-id Pine.LNX.4.30.0109041222481.828-100000@peter.localdomain
Whole thread Raw
In response to Re: Bytea/Base64 encoders for libpq - interested?  ("Joe Conway" <joseph.conway@home.com>)
List pgsql-hackers
Joe Conway writes:

> On a related note, are there any other bytea functions we should have in the
> backend before freezing for 7.2?

The SQL standards has a lot of functions for BLOB...

> I was thinking it would be nice to have a
> way to cast bytea into text and vice-versa, so that the normal text
> functions could be used for things like LIKE and concatenation.

Better write a native LIKE function for bytea, now that some parts are
threatening to make the text-LIKE function use the locale collating
sequence.  (Multibyte aware text could also have interesting effects.)

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: Bytea/Base64 encoders for libpq - interested?
Next
From: Peter Eisentraut
Date:
Subject: Table vs. row level locks confusion