Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azS5y-0005V5-8y for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2016 17:02:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1azS5w-0006vM-Mg for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2016 17:02:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1azS5w-0006vG-9F for pgsql-hackers@postgresql.org; Sun, 08 May 2016 17:02:16 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azS5t-0000H6-0s for pgsql-hackers@postgresql.org; Sun, 08 May 2016 17:02:15 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 0FC4A5F799; Sun, 8 May 2016 13:02:12 -0400 (EDT) Date: Sun, 8 May 2016 13:02:11 -0400 From: Stephen Frost To: Andrew Dunstan Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Disable BLOB test in pg_dump TAP tests Message-ID: <20160508170211.GC10850@tamriel.snowman.net> References: <15724.1462680651@sss.pgh.pa.us> <20160508045247.GW10850@tamriel.snowman.net> <572F4B21.1080806@dunslane.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dTyTU1jEuIsRaY/J" Content-Disposition: inline In-Reply-To: <572F4B21.1080806@dunslane.net> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 12:59:58 up 75 days, 13:52, 22 users, load average: 0.15, 0.08, 0.06 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --dTyTU1jEuIsRaY/J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Andrew Dunstan (andrew@dunslane.net) wrote: > TL;DR version: Msys provides a virtualized Unix-like file system > that is visible to its programs that you use to build, but invisible > to the programs you build since they are going to run without any > knowledge of the build environment. So you can't just put $tmpdir > from an Msys-aware program into a psql script and expect it to work. > It won't. Maybe we need to provide a function in our test library to > convert virtual paths to real paths. (For Unix it would be a NOOP). I'm pretty confident that I can work around this for the specific test that was having trouble, but it seems like it'd be nice to have a way to refer to the actual data and temp directories from psql and friends when they're run under the TAP test system. Ideally, there'd be a way to make it transparent, so we don't have to write the tests to handle this case explicitly, though I'm not sure if there's an easy way to do that. Thanks! Stephen --dTyTU1jEuIsRaY/J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXL3ETAAoJEO1sijiDR2RVIZEQAJVyHxqB70npd2bVQ/CxGGNn YgaHxoFflcd7Y0yVnto6ONAwnTizAoYbJHVYvXoj7aYheFjJ24SmUsla+8A5pyOX xyG9m9+Non4iR7vJ29GBSrbidolTTsV/mYM9MeTOpbZtxGYe4wDeCopbG0BwwKhk uCuIE0D3at8Mpa+l+EXbpLBJBaciB8KJxZc+FFZ8flwHU9kGva3TxbQs48V+ttLX jzTHbJfTcBKyWLliTkeR9iEGIlqno20iyq2gzsgTMrllmGp9csBHIQzuquQaL/V1 0YPYPvg1zUvCVfj4dv9UVOURDUs7IB5vDdwhQGs34WEM4+RqvgMGFJpKRi3cbXY7 t2sJS4Tkls3ulwBdNCV6SCsMyLd9hwQoLBfTX08LG8btloqO5aF+qPLQTnZCFFTP l8KzUPJMnwFxCfUFUnEcNG82kPZPHN4X6mSjKO6Zw5VjyFc3kfFB8XSF6RVKyGZ3 cUZaZoqDKPRdpHj8d8vzlXF6y9+a2QavKui70pzGB0vajJP9puwGysMYJ0T0KnKL YLNw2NHhDEBOyp/ugVHXjUu0O5tGol0IFstDBQrM9Pl2ZrMmbMB2qzPKbg72eJRz QnIM++qFZBxyrQqURhKsYhFoelNMiSGQYyXN6zxo0vDyAFerSEwk6EjfogAuVT11 suu3e0Pko2GrvrKQtMyF =imCV -----END PGP SIGNATURE----- --dTyTU1jEuIsRaY/J--