Re: Regression tests (Background Workers)

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Dharini <dharini1994(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regression tests (Background Workers)
Date: 2016-06-21 07:05:40
Message-ID: CAB7nPqQ6_7Oy9ruFmL06SCn-UbFQ==LjKSDDqacgHbcsKXJJqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 21, 2016 at 2:02 PM, Dharini <dharini1994(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2016-06-21 12:29:44 Re: Help needed structuring Postgresql correlation query
Previous Message Dharini 2016-06-21 05:02:30 Regression tests (Background Workers)