Thread: about CREATE EXTENSION error

about CREATE EXTENSION error

From
"閬閬イふ"
Date:
hi postgreSql !
    test_parser install is ok (postgresql 9.2.4)
   but at (postgresql 9.5.0) failure?
why?the postgresql say:
CREATE EXTENSION zhparser
say:
ERROR:  syntax error at or near ""
LINE 1: CREATE EXTENSION zhparser
        ^
********** 错误 **********
ERROR: syntax error at or near ""
SQL 状态: 42601
字符:1
 
 
CREATE EXTENSION test_parser FROM unpackaged
ERROR:  function testprs_start(internal, integer) does not exist
********** 错误 **********
ERROR: function testprs_start(internal, integer) does not exist
SQL 状态: 42883
9.5.0 Not supported ?

postgress erro how debug it?


can help me?
 
cnpusr
2015-01-18

Re: about CREATE EXTENSION error

From
Michael Paquier
Date:
On Mon, Jan 18, 2016 at 5:55 PM, =E9=96=AC=E9=96=AC=E3=82=A4=E3=81=B5 <lwl_=
652@126.com> wrote:
> CREATE EXTENSION test_parser FROM unpackaged
> ERROR:  function testprs_start(internal, integer) does not exist
> ********** =E9=94=99=E8=AF=AF **********
> ERROR: function testprs_start(internal, integer) does not exist
> SQL =E7=8A=B6=E6=80=81: 42883
> 9.5.0 Not supported ?
>
> postgress erro how debug it=EF=BC=9F
> can help me?

In 9.5, test_parser.so, the library including testprs_start, has been
removed from the default installation and is now part of
src/test/modules in the source tree.
--=20
Michael