From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
---|---|
To: | |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: cast bytea to text |
Date: | 2007-03-01 13:41:54 |
Message-ID: | 45E6D822.5070801@iol.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Willy-Bas Loos wrote:
> ERROR: function decode(bytea, "unknown") does not exist
> SQL state: 42883
> Hint: No function matches the given name and argument types. You may
> need to
> add explicit type casts.
> Context: SQL function "bytea2text"
That's because the first parameter of decode() should be of type TEXT,
not bytea:
http://www.postgresql.org/docs/8.1/static/functions-binarystring.html#FUNCTIONS-BINARYSTRING-OTHER
Ray.
---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2007-03-01 13:50:10 | Re: [HACKERS] urgent: upgraded to 8.2, getting kernel panics |
Previous Message | Bill Moran | 2007-03-01 13:38:47 | Re: Please Help ! Error with Access 2003 |