From: Ricardo Sardinha <ricardo.sardinha@ti.polynorte.com.br>
To: pgsql-bugs@postgresql.org
Subject: function length(numeric) does not exist
Date: Sat, 22 Nov 2014 08:26:48 -0400
Message-ID: <000001d0064f$98112d70$c8338850$@sardinha@ti.polynorte.com.br> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Version: PostgreSQL 9.2.6, compiled by Visual C++ build 1600, 32-bit
When I try to use the function length occurs the error:
"ERRO: 42883: função length(numeric) não existe" (function length(numeric)
does not exist).
Then I try to create length function:
CREATE OR REPLACE FUNCTION length(tsvector)
RETURNS int4 AS
'$libdir/tsearch2', 'tsvector_length'
LANGUAGE 'c' IMMUTABLE STRICT;
ALTER FUNCTION length(tsvector) OWNER TO postgres;
But the return is:
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------
ERRO: não pôde encontrar função "tsvector_length" no arquivo "C:/Program
Files/PostgreSQL/9.2/lib/tsearch2.dll"
(could not find function "tsvector_length" in the file "C:/Program
Files/PostgreSQL/9.2/lib/tsearch2.dll")
********** Error **********
ERRO: não pôde encontrar função "tsvector_length" no arquivo "C:/Program
Files/PostgreSQL/9.2/lib/tsearch2.dll"
(could not find function "tsvector_length" in the file "C:/Program
Files/PostgreSQL/9.2/lib/tsearch2.dll")
SQL state: 42883
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------
I need the help!
Thanks!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ricardo.sardinha@ti.polynorte.com.br
Subject: Re: function length(numeric) does not exist
In-Reply-To: <000001d0064f$98112d70$c8338850$@sardinha@ti.polynorte.com.br>
References: <000001d0064f$98112d70$c8338850$@sardinha@ti.polynorte.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox