Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m15M3-00023s-8W for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jul 2021 11:04:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m15M2-0001s4-7c for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jul 2021 11:04:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m15M1-0001rw-Rq for pgsql-hackers@lists.postgresql.org; Wed, 07 Jul 2021 11:04:33 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m15Ly-00025I-Si for pgsql-hackers@lists.postgresql.org; Wed, 07 Jul 2021 11:04:32 +0000 Received: by mail-pg1-x529.google.com with SMTP id w15so1812026pgk.13 for ; Wed, 07 Jul 2021 04:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=sJkDE6othiXcKAPlHBrCLkKSWH0P6gpFOMV+8M63OD4=; b=MWuOvhyIz5asopPdGby/twNJYAVa/Ndc0FaO8oaFgFZpaFrIVjpJcFWUOmkz0VovJG kD3FhdYWuL4oc5/27w26qbVtNkMZnqQD6bAXcz08BDUjJ8Ezn8khi0gjIyaMnY03udyF jALzgAGii44hJKWSV0gDN+y1TfFKjT5Eo5SkDdxk1lLI9YYw1/T6JoAMODoevUQC0YzT hrwFom8uljXU4sGbhfWq7SHoKLfUwALntc5xihgb8CZIR2Lw2LOj14626IG4Rn36DhwG Cn5R5Uobpo2JEfw6n5ZzsijH/o0P1JBwAeX2j6Bme2BdfGzo7nFQketszWxhsnGNZOlz bWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=sJkDE6othiXcKAPlHBrCLkKSWH0P6gpFOMV+8M63OD4=; b=fgcm4W2y/gJoKoZDrgJ2lPV/6V/nZDlBR1YQUBFGQeYc365DruBXMmlfPDZJYh7K3I SJ1I5yg6SUHabq/Dzu8JFWMOg5xWKuj98cL2quAzPYGmuqO+zQQJQTaOI7EkAkqlc8UU 7VdSl3IFJwtfjVbMOSCteTVwPxPbPUq8Lr13NM1K8BWubUB3mqmMK068C2EmXenDPVB8 nJ91DiC49k0qqO8kWrJ9rrJyDBjJ5g7KBwoOUWDbu75rowYKDswdW4PZlgMm0NMu9yJm SFh6GgZD0qapj6dcnVnyN0OCiatoHPU2HbP1ywIpRTvokH98TJquwH1b39i1GmIDf5NT 15dQ== X-Gm-Message-State: AOAM5311uKPJgAUYRjsLBltdk3LTXjJyz2wtzc8KHocn0gofFYFXhp7z OiWibjHapd6uWEbmU9OwIHDAxcMkN0Z2wA== X-Google-Smtp-Source: ABdhPJx7sWAIVH/tBx9LdTAiUfxm2XodZnKbTGUBeDfiZ1Qh/hdZXWeiROgR1VLQR/jsppbV+0+B1w== X-Received: by 2002:a65:6a0f:: with SMTP id m15mr25609321pgu.253.1625655869662; Wed, 07 Jul 2021 04:04:29 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.95]) by smtp.gmail.com with ESMTPSA id y16sm19657272pfe.70.2021.07.07.04.04.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 04:04:29 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 70E502A092C; Wed, 7 Jul 2021 07:04:27 -0400 (-04) Date: Wed, 7 Jul 2021 07:04:27 -0400 From: Alvaro Herrera To: Boris Kolpackov Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Pipeline mode and PQpipelineSync() Message-ID: <202107071104.acus7s4x3vv3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jul-07, Boris Kolpackov wrote: > I don't get any difference in behavior with this patch. That is, I > still get the unexpected NULL result. Does it make a difference for > your reproducer? Yes, the behavior changes for my repro. Is it possible for you to share a full program I can compile and run, plesse? Thanks -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Most hackers will be perfectly comfortable conceptualizing users as entropy sources, so let's move on." (Nathaniel Smith)