Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XmXSx-0008Rj-Tl for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Nov 2014 00:31:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XmXSw-0005iG-Go for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Nov 2014 00:31:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XmXSu-0005i4-Bk for pgsql-bugs@postgresql.org; Fri, 07 Nov 2014 00:31:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XmXSq-0004l3-WB for pgsql-bugs@postgresql.org; Fri, 07 Nov 2014 00:31:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sA70Vbx5006401; Thu, 6 Nov 2014 19:31:37 -0500 From: Tom Lane To: David Gauchard cc: Andres Freund , pgsql-bugs@postgresql.org Subject: Re: BUG #11882: make HAVE_WORKING_LINK an option In-reply-to: <20141105165226.GD3344@laas.fr> References: <20141105144448.26931.18746@wrigleys.postgresql.org> <20141105163514.GY28295@alap3.anarazel.de> <20141105165226.GD3344@laas.fr> Comments: In-reply-to David Gauchard message dated "Wed, 05 Nov 2014 17:52:26 +0100" Date: Thu, 06 Nov 2014 19:31:37 -0500 Message-ID: <6399.1415320297@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org David Gauchard writes: > On mer., nov. 05, 2014 at 05:35:14 +0100, Andres Freund wrote: >> On 2014-11-05 14:44:48 +0000, gauchard@laas.fr wrote: >>> This define "HAVE_WORKING_LINK" should not be always enabled. On systems >>> that support (and surely use) hard links FS, postgresql might be used on a >>> subFS not supporting it. >> Those FS's really shouldn't be used for a database though. Are you >> thinking of something concrete? > I was working on a fuse filesystem which I test using the > phoronix test suite, which uses postgresql for benchmarking, when > I ran into this bug (hard link is not always implementable). Meh. There's a reason HAVE_WORKING_LINK is defined in pg_config_manual.h: if you want to adjust it, you're supposed to do so manually. I don't really want to carry a configure option to support non-production-quality filesystems. Even just documenting it would be painful (are we really going to have an option that we'd tell people not to use?) regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs