Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCScL-0002pt-6B for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2015 13:08:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZCScK-0008Nw-Kr for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2015 13:08:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZCSbT-0007fl-IY for pgsql-bugs@postgresql.org; Tue, 07 Jul 2015 13:08:03 +0000 Received: from mail-la0-f53.google.com ([209.85.215.53]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZCSbP-0002Pm-US for pgsql-bugs@postgresql.org; Tue, 07 Jul 2015 13:08:02 +0000 Received: by labgy5 with SMTP id gy5so41945911lab.2 for ; Tue, 07 Jul 2015 06:07:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gtcouGgh9i0W2VX/ZvQQS8J6ecgodMWecq4sV1CRV5I=; b=NSsFckScdvQzsI0zzctfIJeXT+HPY9g9x1QOBNvulJewR1NRTYvjHaT9T7nB09khCU 166gMbNTXVTVv7fEwXxVk+1nZPm3uvod7OB6g1DAWjw8qcDpXsySE53LJatUBnp35p9a xDwwZKCfILjSv+g94fagiWc4QLl+ZEFen4SJjCaQ4G7Q0mVZpYyT75J8+jZpMcht9sys KO7ITl08i4jkPDN6gpSfsB3QPE7fD21BlX8jxmuxmbN4WKasunRQ6OFMKCptGfInEzPX Xzw9OahdDIqJt+ESBn2SLyG5z7TyncP0pAdWgFuCvPLm1TfMd8iHHth9+9sfKbLHTnTj XyRQ== X-Gm-Message-State: ALoCoQlfKgB9PXIodYAbm7Gx4OgW97NOYQM9qpeq5ClMm4cDmrjghoBhxlVByG4bJ4HkgZl7+dG5 X-Received: by 10.152.234.200 with SMTP id ug8mr3853741lac.63.1436274477990; Tue, 07 Jul 2015 06:07:57 -0700 (PDT) Received: from [192.168.0.25] (82-181-172-76.bb.dnainternet.fi. [82.181.172.76]) by mx.google.com with ESMTPSA id l9sm5560852laf.35.2015.07.07.06.07.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 06:07:56 -0700 (PDT) Message-ID: <559BCF2B.2040604@joh.to> Date: Tue, 07 Jul 2015 16:07:55 +0300 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andres Freund CC: olivier.gosseaume@free.fr, pgsql-bugs@postgresql.org Subject: Re: BUG #13484: Performance problem with logical decoding References: <1218457515.16345590.1436203770840.JavaMail.root@zimbra72-e12.priv.proxad.net> <20150706204138.GC340@alap3.anarazel.de> <559AF98B.3050901@joh.to> <20150707111503.GG30359@alap3.anarazel.de> In-Reply-To: <20150707111503.GG30359@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252; format=flowed 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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2015-07-07 14:15, Andres Freund wrote: > I think testing whether the output fd is a regular file and not a tty > when opening it should work across platforms: > > I pushed the patch and tested it locally (linux), but I'd be thankful if > you two could test whether it works now on your respective platforms. Fixes the issue on OS X. Thank you. .m -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs