Re: [GENERAL] about test_parser installation failure problem(PostgreSQL in 9.5.0)?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: 閬閬イふ <paaple(at)foxmail(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] about test_parser installation failure problem(PostgreSQL in 9.5.0)?
Date: 2016-01-19 16:20:40
Message-ID: 569E6258.1020001@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-hackers

On 01/14/2016 06:51 PM, 閬閬イふ wrote:
> 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 ?
> can help me?

The last place I see it is:

http://www.postgresql.org/docs/9.4/interactive/test-parser.html

I do not see it in the 9.5 contrib modules:

http://www.postgresql.org/docs/9.5/interactive/contrib.html

Aah, looking at the Release Notes for 9.5:

http://www.postgresql.org/docs/9.5/interactive/release-9-5.html

Move dummy_seclabel, test_shm_mq, test_parser, and worker_spi from
contrib to src/test/modules (Álvaro Herrera)

These modules are only meant for server testing, so they do not need to
be built or installed when packaging PostgreSQL.

So if you are building from source you can go there to build the module.

> cnpusr
> 2015-01-15

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-01-19 17:09:09 Re: BUG #13875: Error explaining query
Previous Message Andres Freund 2016-01-19 15:44:33 Re: BUG #13876: pg_xlogdump give an error on timeline switch

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-01-19 17:11:51 Re: Dynamic collation support
Previous Message Adrian Klaver 2016-01-19 16:09:21 Re: Postgre compatible version with RHEL 7.2

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-01-19 16:42:30 Re: Combining Aggregates
Previous Message Alvaro Herrera 2016-01-19 15:37:02 Re: Logical decoding on standby