On Tue, Mar 08, 2005 at 02:16:52PM -0800, Moran.Michael wrote: > Yes, the exact bytes in the varchar datum (without encoding) is what I would > like to become the bytes in the BYTEA. > > So, how do I create a "cast WITHOUT FUNCTION" as you mention below? I assume > plpgsql is required, right?
Did you check the reference page for CREATE CAST already? -- Alvaro Herrera (<[EMAIL PROTECTED]>) "Por suerte hoy explotó el califont porque si no me habría muerto de aburrido" (Papelucho) ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match