Re: I have some troubles to run test_shm_mq;

From: Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: I have some troubles to run test_shm_mq;
Date: 2019-03-11 11:43:15
Message-ID: CAKU4AWoT2EELy7adm=7LgBy=qD4AwCk0bNBd-Lwx96b1y1zO8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for the clarification!

On Mon, Mar 11, 2019 at 5:02 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:

> On Mon, Mar 11, 2019 at 9:35 PM Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com> wrote:
> > 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
>
> Hmm, I don't know actually know why test_shm_mq_main() ends with
> proc_exit(1) instead of 0. It's possible that it was written when the
> meaning of bgworker exit codes was still being figured out, but I'm
> not sure...
>
> >> Works, thank you Thomas! I have spent more than 2 hours on this. do
> you know which document I miss for this question?
>
> There is probably only src/test/modules/README, which explains that
> these modules are tests and examples and not part of a server
> installation.
>
> --
> Thomas Munro
> https://enterprisedb.com
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shaoqi Bai 2019-03-11 11:49:11 Re: Fwd: Add tablespace tap test to pg_rewind
Previous Message Andreas Karlsson 2019-03-11 11:06:36 Re: Feature: temporary materialized views