Skip site navigation (1) Skip section navigation (2)

Enforce creation of destination folders for source files in pg_regress (Was: pg_regress writes into source tree)

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Enforce creation of destination folders for source files in pg_regress (Was: pg_regress writes into source tree)
Date: 2015-01-15 04:31:44
Message-ID: CAB7nPqTdQiEvEUNHnnj2Q2h5zM1CbG2FZaunJmT+wynKTovCqw@mail.gmail.com (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-hackers
Hi all,

pg_regress will fail with test suites using only source files if the
destination folders do not exist in the code tree. This is annoying
because this forces to maintain empty folders sql/ and expected/ with
a .gitignore ignoring everything. The issue has been discussed here
(http://www.postgresql.org/message-id/54935D9D.7010608@dunslane.net)
but nobody actually sent a patch, so here is one, and a thread for
this discussion.
Regards,
-- 
Michael

Attachment: 20150115_pg_regress_create_destdir.patch
Description: text/x-patch (1.6 KB)

Responses

pgsql-hackers by date

Next:From: Peter GeogheganDate: 2015-01-15 04:50:05
Subject: Re: hung backends stuck in spinlock heavy endless loop
Previous:From: Stephen FrostDate: 2015-01-15 03:28:30
Subject: Re: WITH CHECK and Column-Level Privileges

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group