Re: I have some troubles to run test_shm_mq; - Mailing list pgsql-hackers

From Andy Fan
Subject Re: I have some troubles to run test_shm_mq;
Date
Msg-id CAKU4AWpY_t18BFDeRZa+cKLs3gYJzFXQGd1+ZjfZ=cTX5jfbTQ@mail.gmail.com
Whole thread Raw
In response to Re: I have some troubles to run test_shm_mq;  (Andy Fan <zhihui.fan1213@gmail.com>)
Responses Re: I have some troubles to run test_shm_mq;
List pgsql-hackers
and whenever I run a simple query  "SELECT test_shm_mq(1024, 'a');"

I see the following log

2019-03-11 16:33:17.800 CST [65021] LOG:  background worker "test_shm_mq" (PID 65052) exited with exit code 1


does it indicates something wrong?

On Mon, Mar 11, 2019 at 4:30 PM Andy Fan <zhihui.fan1213@gmail.com> wrote:
Works, thank you Thomas!  I have spent more than 2 hours on this.   do you know which document I miss for this question?

Thanks

On Mon, Mar 11, 2019 at 4:05 PM Thomas Munro <thomas.munro@gmail.com> wrote:
On Mon, Mar 11, 2019 at 8:59 PM Andy Fan <zhihui.fan1213@gmail.com> wrote:
> 4.   CREATE EXTENSION test_shm_mq;  ==> .  could not open extension control file "/.../share/postgresql/extension/test_shm_mq.control": No such file or directory
>
> how can I get it work?  Thanks

Hi Andy,

Try this first:

cd src/test/modules/test_shm_mq
make install

--
Thomas Munro
https://enterprisedb.com

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Fix volatile vs. pointer confusion
Next
From: Dean Rasheed
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists