On Tue, Jun 21, 2016 at 2:02 PM, Dharini <dharini1994@xxxxxxxxx> 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@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general