Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqj0k-0001fu-5A for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 16:21:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqj0j-0007wY-L0 for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Mar 2017 16:21:21 +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 1cqj0i-0007qS-6m for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 16:21:20 +0000 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cqj0f-0000PV-E8 for pgsql-hackers@postgresql.org; Wed, 22 Mar 2017 16:21:19 +0000 Received: by mail-qk0-x230.google.com with SMTP id p22so20897267qka.3 for ; Wed, 22 Mar 2017 09:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=qvmljbnW3OnAfnKfBWycJbHAwlB+xH/thAt79CgBXKA=; b=eYLBFX0spnv7Oa728fx8YBhv3D1+jUlAVWt0/lllX/L8b+GEycpP/y6ids5UF8O6KF h9EGpZsViFrzI9ET1Cb8BLRTBU5CEb3W8w1vY/goQFxrxpA9LxT714t3pkSc1M5owphM l2gRsLPq6QYHvpmqosVGIjWgNjee2izfJf7Q4tYbF+kqzts3dBOpxWXNe4Vtxaf187zA qJEWSV1QRoMv4MlhRCfnH0lQJpen5hTlfprS7xVDQHYpmwD2iRAB+rkWjeVZWQU5O2Pe mnrqG+RERA5/MYGInB+OdMeeuw3poitQ0FY3GXStKjTqHT46zK6+P7cDj2ohM5gF7js6 i+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qvmljbnW3OnAfnKfBWycJbHAwlB+xH/thAt79CgBXKA=; b=BQBUm1XZ5ggBz2lmm6xDtgK77bpcCalC1LxS32IiZA4BB9LEQG6GrhAEBILFL1X2yU BHBPtXenUxZDNkuVx562U3Ae5hqXVrXIAjkJWx1Zdtk/aWQwl+jsQicYAa+936TPKSC1 ulGokkQdceO1j6YIeE6jz/7Sw7m2ZzyeAvoPTkt7+TIEMnvHb+BuLOGuFbGKpKsvP/IC 16jtsV4jGQRPSs6kAXjb/UN1nLNkZw9CQXUU7MZYKcObJOcms2b0lkOOgm7QuUUJFclT +OlUvMjxDrK8KcLBVWA7NvVnL6KUBRpLjw9c77a1O4d+i5Z2OV0XltoKMjRiWVPydFeK Y7EA== X-Gm-Message-State: AFeK/H06g5NZTAWzVQ97dHy7l9kFO1zKrTrHemSoAD0WLzR3jUVAZZ23epJ1YMTV3uMjjqaK X-Received: by 10.55.164.207 with SMTP id n198mr38499557qke.95.1490199675661; Wed, 22 Mar 2017 09:21:15 -0700 (PDT) Received: from [192.168.10.146] ([98.122.164.227]) by smtp.gmail.com with ESMTPSA id y75sm1279856qka.22.2017.03.22.09.21.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 09:21:15 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: [COMMITTERS] pgsql: Sync pg_dump and pg_dumpall output To: Stephen Frost References: <20170322153920.GL9812@tamriel.snowman.net> <75e1b6ff-c3d5-9a26-e38b-3cb22a099ff0@2ndQuadrant.com> <20170322161006.GM9812@tamriel.snowman.net> Cc: pgsql-hackers@postgresql.org, Michael Paquier Message-ID: Date: Wed, 22 Mar 2017 12:21:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20170322161006.GM9812@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 03/22/2017 12:10 PM, Stephen Frost wrote: >> Still I agree that we should have tests for both cases. > Perhaps, though if I recall correctly, we've basically had zero calls > for fsync() until this. If we don't feel like we need to test that in > the backend then it seems a bit silly to feel like we need it for > pg_dump's regression coverage. > > That said, perhaps the right answer is to have a couple tests for both > the backend and for pg_dump which do exercise the fsync-enabled paths. > > +1 cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers