Bruce Momjian <[EMAIL PROTECTED]> 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.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://www.postgresql.org/search.mpl
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Bruce Momjian
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Tom Lane
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Joe Conway
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Peter Eisentraut
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Tom Lane
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Joe Conway
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Joe Conway
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Tom Lane
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Bruce Momjian
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Larry Rosenman
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Tom Lane
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Bruce Momjian
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Tom Lane
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Joe Conway
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Peter Eisentraut
