Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt3oh-0000Hk-9H for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Nov 2014 00:17:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xt3og-0006Gh-QP for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Nov 2014 00:17:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xt3og-0006GY-2W for pgsql-bugs@postgresql.org; Tue, 25 Nov 2014 00:17:14 +0000 Received: from [162.253.133.43] (helo=mwork.nabble.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xt3oa-0005yd-IT for pgsql-bugs@postgresql.org; Tue, 25 Nov 2014 00:17:12 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 31C08B2568F for ; Mon, 24 Nov 2014 16:17:08 -0800 (PST) Date: Mon, 24 Nov 2014 17:17:07 -0700 (MST) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1416874627457-5828105.post@n5.nabble.com> In-Reply-To: <000001d0064f$98112d70$c8338850$@sardinha@ti.polynorte.com.br> References: <000001d0064f$98112d70$c8338850$@sardinha@ti.polynorte.com.br> Subject: Re: function length(numeric) does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 162.253.133.43 (failed) X-Pg-Spam-Score: 0.5 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Ricardo Sardinha wrote > Version: PostgreSQL 9.2.6, compiled by Visual C++ build 1600, 32-bit > "ERRO: 42883: fun=C3=A7=C3=A3o length(numeric) n=C3=A3o existe" (function= length(numeric) > does not exist). >=20 > Then I try to create length function: >=20 > CREATE OR REPLACE FUNCTION length(tsvector) I'm confused...you try and pass a numeric into a length function and when that doesn't work you go and create a length function that takes a tsvector? Until you communicate what it is you are trying to accomplish and, ideally, provide some code to help explain the same, it is going to be difficult to provide you with help. David J. -- View this message in context: http://postgresql.nabble.com/function-length-= numeric-does-not-exist-tp5828067p5828105.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs