Regression tests (Background Workers)

Started by Dharinialmost 10 years ago2 messagesgeneral
Jump to latest
#1Dharini
dharini1994@gmail.com

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

#2Michael Paquier
michael@paquier.xyz
In reply to: Dharini (#1)
Re: Regression tests (Background Workers)

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general