Re: Regression tests (Background Workers) - Mailing list pgsql-general

From Michael Paquier
Subject Re: Regression tests (Background Workers)
Date
Msg-id CAB7nPqQ6_7Oy9ruFmL06SCn-UbFQ==LjKSDDqacgHbcsKXJJqw@mail.gmail.com
Whole thread Raw
In response to Regression tests (Background Workers)  (Dharini <dharini1994@gmail.com>)
List pgsql-general
On Tue, Jun 21, 2016 at 2:02 PM, Dharini <dharini1994@gmail.com> wrote:
> Background process is initialized at server start and when trying to run the
> tests i get the following error.
>
> $ make installcheck
> (using postmaster on Unix socket, default port)
> ============== dropping database "contrib_regression" ==============
> ERROR:  DROP DATABASE cannot be executed from a function or multi-command
> string
> command failed: "/postgres/install/bin/psql" -X -c "DROP DATABASE IF EXISTS
> \"contrib_regression\"" "postgres"
> make: *** [installcheck] Error 2

Which test are you trying to run? That's not from the in-core source
tree, right? And on which version of Postgres is this attempt tried?
With this level of details that's hard to know what's going on, one
can just guess that PreventTransactionChain is being called on DROP
DATABASE..
--
Michael


pgsql-general by date:

Previous
From: Dharini
Date:
Subject: Regression tests (Background Workers)
Next
From: Alban Hertroys
Date:
Subject: Re: Help needed structuring Postgresql correlation query