* Tom Lane <[EMAIL PROTECTED]> [010904 12:01]: > They're pretty ugly, but more importantly they're only suitable if we > have exactly one conversion function each way. If we have two, what > will we call the second one? > > I think it's okay to let the argument type be implicit in the function > argument list. Something like text_escaped(bytea) and text_direct(bytea) > (with inverses bytea_escaped(text) and bytea_direct(text)) might do. > I'm not totally happy with "direct" to suggest minimum escaping, though. > Better ideas anyone? Cooked vs raw? LER > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED]) > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- Re: [HACKERS] Bytea/Base64 encoders for libpq - intereste... Joe Conway
- 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