> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Let me ask a bigger question. We have the length of the text string in
> > the varlena header. Are we concerned about backend code not handling
> > NULL in text fields, or frontend code returning strings with embedded
> > nulls?
>
> The former.
>
> > I see problems in the text() functions for nulls, but is such a
> > limitation required for text types?
>
> Unless you want to re-implement strcoll() and friends from scratch.
Yes, I saw strcoll().
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026