Re: tests for client programs

From: Noah Misch <noah(at)leadboat(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tests for client programs
Date: 2014-06-10 02:06:04
Message-ID: 20140610020604.GA624179@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 09, 2014 at 09:12:27PM -0400, Peter Eisentraut wrote:
> On Thu, 2014-06-05 at 21:57 -0400, Noah Misch wrote:
> > I recommend "TMPDIR => 1" instead of setting DIR.
>
> I originally decided against doing that, because
>
> 1) I don't know if all systems would have enough space in their regular
> temporary directory for the kinds of things we put there. Using the
> build directory seems safer.
>
> 2) One "debugging" method is to set CLEANUP to false and then manually
> inspect the data directory left behind. (In the future, this might be
> exposed via a command-line option.) This would become more cumbersome
> and error-prone if we used TMPDIR.
>
> > This temporary directory is
> > used for Unix sockets, so path length limitations will be a problem:
> >
> > http://www.postgresql.org/message-id/20140329172224.GA170273@tornado.leadboat.com
>
> That, however, is a good argument for doing it the other way. Maybe we
> need two temporary directories.

Two temporary directories sounds fair, given those constraints.

--
Noah Misch
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-06-10 02:19:26 Re: Allowing NOT IN to use ANTI joins
Previous Message Jeff Janes 2014-06-10 01:53:50 Re: Allowing NOT IN to use ANTI joins