Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2ltZ-0005w4-LK for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 21:51:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d2ltY-0003zT-KN for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 21:51:44 +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 1d2ltX-0003z2-J1 for pgsql-hackers@postgresql.org; Mon, 24 Apr 2017 21:51:43 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d2ltT-0004GG-Uy for pgsql-hackers@postgresql.org; Mon, 24 Apr 2017 21:51:42 +0000 Received: by mail-wm0-x22c.google.com with SMTP id w64so8067914wma.0 for ; Mon, 24 Apr 2017 14:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=7jQZBgudjpRA4+JUd92nhI3K84INTvXo7YQ+ACUx2ts=; b=kewKVbgFKeLCc80wxk3Y/snGMKoboV5csRk9usuawhT/w3SLEqUhbuHCD7DNrCpOkN eq+7LFnCLSxn4I4rUIBfiyOkO0INdQb7XBhDet/VgsR9hCsn4Lzo8MEbl33k6oRl/yOu Ys3BTI3LDjWPh6TYJIygbS4ojrUW2Ok892esv+NST9GepE3gKenkUF7vlzA+dPjzQpcM TIBqQcYhwJya5T5bEtjDejDkxtE3AeN/HeZw1oaFm5tAe9vrDHn5mW/nsVjO3tlK++Xu mJKl20r0rjnDgQjScA/N/NERZpkMiiRixpReXG5HHT4Rt+LO12Rv0dhqnjg254F8Xtar h8bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=7jQZBgudjpRA4+JUd92nhI3K84INTvXo7YQ+ACUx2ts=; b=nc3/PdS3ncSv+W+Im8lVAAQLZZ1ViqRf+XsHQeNeLQFBqPWF2HDb2UEz5lP9t1YHxs S2sTaBBl6NL4e09MkFynGJoR0XGs6f4VI6z808RlWhaDK9cGr2VyDuh6TdzBNzewv+X4 iGn8WGGgU3R655sYviKNQJ/gQMdXWK9k0wGTkO5RgyAoh2ABlInwW/IdJcf5cb4YHuGm qiyxrROe1J7h9T5mVYXJV8UKR4cL6QUSm1r1uRDk8HG5m+afRtKBXnBRJL9usWeqjc8Y qKwkW05jLyebp1/jcP+9TBPDZweZ2MzOlQcOZWhZ4CtBMel3r0JL/TA/FgUuQu4AlLIF vs1A== X-Gm-Message-State: AN3rC/5n4ZLMhq+w/wvheMo0D1XCI+A6Wy3NfybOhLz4tr/ZqgTuSZEM mW2hMBMPW4HCqrT5 X-Received: by 10.28.63.142 with SMTP id m136mr11201640wma.87.1493070698662; Mon, 24 Apr 2017 14:51:38 -0700 (PDT) Received: from [192.168.0.105] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id h65sm23910969wrh.32.2017.04.24.14.51.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 14:51:37 -0700 (PDT) Subject: Re: walsender & parallelism To: Andres Freund References: <7966f454-7cd7-2b0c-8b70-cdca9d5a8c97@2ndquadrant.com> <20170423235941.qosiuoyqprq4nu7v@alap3.anarazel.de> <20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de> <13973428-ca0b-b329-7f32-f15150e10334@2ndquadrant.com> <5814B653-B06F-45ED-8820-8258F6699107@anarazel.de> <4396e7f1-685d-776e-c2a7-cd620add904f@2ndquadrant.com> <20170424180033.ckmabntxh5oze3qm@alap3.anarazel.de> Cc: Craig Ringer , PostgreSQL Hackers , Petr Jelinek , Peter Eisentraut From: Petr Jelinek Message-ID: <7855066d-1c86-0088-aa7c-e0cf4107fdb9@2ndquadrant.com> Date: Mon, 24 Apr 2017 23:51:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170424180033.ckmabntxh5oze3qm@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit 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 24/04/17 20:00, Andres Freund wrote: > On 2017-04-24 18:29:51 +0200, Petr Jelinek wrote: >> On 24/04/17 07:42, Andres Freund wrote: >>> >>> >>> On April 23, 2017 10:31:18 PM PDT, Petr Jelinek wrote: >>>> On 24/04/17 04:31, Petr Jelinek wrote: >>>> So actually maybe running regression tests through it might be >>>> reasonable approach if we add new make target for it. >>> >>> That sounds like a good plan. >>> >>> >>>> Note that the first patch is huge. That's because I needed to add >>>> alternative output for largeobject test because it uses fastpath >>>> function calls which are not allowed over replication protocol. >>> >>> There's no need for that restriction, is there? At least for db walsenders... >>> >> >> No, there is no real need to restring the extended protocol either but >> we do so currently. The point of allowing SQL was to allow logical >> replication to work, not to merge walsender completely into normal >> backend code. > > Well, that's understandable, but there's also the competing issue that > we need something that is well defined and behaved. > It's well defined, it supports simple protocol queries, that's it. > >> Obviously it >> means walsender is still special but as I said, my plan was to make it >> work for logical replication not to merge it completely with existing >> backends. > > Yea, and I don't think that's an argument for anything on its own, > sorry. > It's not meant argument, it's plain statement of my intentions. I am not stopping you from doing more if you want, however I don't see that it's needed or any arguments about why it is needed. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, 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