Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2TmT-0000F2-VD for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 02:31:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d2TmT-0001A8-Ho for pgsql-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 02:31:13 +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 1d2TmS-000198-C5 for pgsql-hackers@postgresql.org; Mon, 24 Apr 2017 02:31:12 +0000 Received: from mail-wr0-x233.google.com ([2a00:1450:400c:c0c::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d2TmP-0007gF-1U for pgsql-hackers@postgresql.org; Mon, 24 Apr 2017 02:31:11 +0000 Received: by mail-wr0-x233.google.com with SMTP id z109so83313076wrb.1 for ; Sun, 23 Apr 2017 19:31:08 -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=e0FMbO8RWVS4KQyTj/uEBtKuOdc6M6oFmC0Kg0iEcfA=; b=ESzS4uGQwRXyD+e7tQCrO9SoyciU294C45U/X2NMfrYwLAcjW/Ad82IRq+V2fRKb3Q w5FY4E6pbvZ7EM4dTQ3wHDLwyZ0bBWRm0waX9ANHgHBqF3+fpBILUVBsAlfNHp9V2QHO zFiVCUbZcEwPd3luZJJsgC1+ASaiWx0VP+BzszcvLVjWYg9efxYlKiSJNqfkT0tr/sab 0mELuPBBCCR6KgDukAYVZbIlOVUkV50jTXT+8js3sb5yqkM31iNves4FVY2DaYIczMwX 9a9wm6SLdEVwp+riOS2e3YndUx1z/GvvJWFXeR9CMsda/LcEDamp3T7v7SGDc3GMNxEx Gt7w== 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=e0FMbO8RWVS4KQyTj/uEBtKuOdc6M6oFmC0Kg0iEcfA=; b=cekO+fFFnvMtjQkHqCpfsazGBdpfAd4IKU/SyqUokEoc8rlqJYF/2HE/InCAVuPFLT 6Rb+xKOZU+L6kv332Mporjklnhz76scGa9UOA2KyK0sT3kKhAkQfu2Y1mi3o9c4S5lMO Y1UYbDScG+nWnBGZkev3wPx37PjsoaKaIZ/EzZrGgW4y5UrrEo+sCQ97lDy60N50WuHU PGbCvzg8myMZbOUSMzwq+/AjeCkvSoR0LU3zYaaTszh941bZZQg5gdtDXfqjHk7RGdpu WsgTkBKykXdpRw7yrmW+zCgphf+j7EFErkOm5thyOQq0uHxkTQ/4Nybz6HhUpWCy8u2y RNMg== X-Gm-Message-State: AN3rC/7jU/hcb2bd16o9aa/rUwnGbznSdF2nnD3+k6O6RYRoeK/WSh/j HdMVxBDpvVPtIObD X-Received: by 10.223.160.168 with SMTP id m37mr3762813wrm.176.1493001067064; Sun, 23 Apr 2017 19:31:07 -0700 (PDT) Received: from [192.168.0.105] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id w96sm8916645wrc.14.2017.04.23.19.31.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Apr 2017 19:31:06 -0700 (PDT) Subject: Re: walsender & parallelism To: Andres Freund References: <20170421014030.fdzvvvbrz4nckrow@alap3.anarazel.de> <7966f454-7cd7-2b0c-8b70-cdca9d5a8c97@2ndquadrant.com> <20170423235941.qosiuoyqprq4nu7v@alap3.anarazel.de> <20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de> Cc: Craig Ringer , PostgreSQL Hackers , Petr Jelinek , Peter Eisentraut From: Petr Jelinek Message-ID: Date: Mon, 24 Apr 2017 04:31:05 +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: <20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 02:04, Andres Freund wrote: > Hi, > > Oh, and one more point: There desperately need to be tests exercising > "SQL via walsender". Including the issue of parallelism here, the missed > cancel handler, timeouts, and such. One way to do so is to use > pg_regress with an adjusted connection string (specifying > replication=database), doing the same for isolationtester, or using > dblink. > Well, there are some tests (the logical replication uses that functionality) and it's not quite clear to me what all to run there. I assume you don't want to rerun whole regression suite against walsender given the time it would take in normal tests (although I could see doing that optionally somehow) but then what to pick from there. -- 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