Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id CB5F39FA252 for ; Mon, 27 Nov 2006 11:53:36 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 09455-05 for ; Mon, 27 Nov 2006 11:53:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 205C49FA23F for ; Mon, 27 Nov 2006 11:53:19 -0400 (AST) Received: from kingfisher.intern.logix-tt.com (84-72-188-217.dclient.hispeed.ch [84.72.188.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 1F1A46403E; Mon, 27 Nov 2006 16:56:07 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 5138818148C92; Mon, 27 Nov 2006 16:53:01 +0100 (CET) Message-ID: <456B09DD.909@logix-tt.com> Date: Mon, 27 Nov 2006 16:53:01 +0100 From: Markus Schaber Reply-To: pgsql-sql@postgresql.org Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.7 (X11/20060927) MIME-Version: 1.0 To: pgsql-sql@postgresql.org Cc: Bart Degryse Subject: Re: UNICODE and PL/PGSQL References: <456AD17A020000300000FB60@webaccess.indicator.be><1164638251.270 70.45.camel@localhost.localdomain><456B0A47020000300000FC1E@webaccess.indi cator.be><456B0A47020000300000FC1E@webaccess.indicator.be><456B0153.3010603 @logix-tt.com> <456B132F020000300000FC4B@webaccess.indicator.be> In-Reply-To: <456B132F020000300000FC4B@webaccess.indicator.be> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/262 X-Sequence-Number: 26914 Hi, Bart, Bart Degryse wrote: > I should have said "The ICT department doesn't give me access to the > psql command line interface". Hmm, and you can't install psql on the same host you use to run pgadmin? It's just a client, that connects to PostgreSQL the same way as pgamdin. > ERROR: operator does not exist: character varying || bytea > HINT: No operator matches the given name and argument type(s). You may > need to add explicit type casts. > CONTEXT: SQL statement "SELECT $1 || decode(to_hex( $2 ), 'hex')" Hmm. Strange. Does it happen in a plpgsql function, or when issuing the select as PREPARE statement via pgadmin? Which PostgreSQL version are you running? Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in Europe! www.ffii.org www.nosoftwarepatents.org