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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
20150115_pg_regress_create_destdir.patch text/x-patch 1.6 KB

Responses

Browse pgsql-hackers by date

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