Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhix8-003zvG-Cd for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Sep 2023 04:00:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qhix5-0038DS-ND for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Sep 2023 04:00:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qhix5-0038Cu-5J for pgsql-bugs@lists.postgresql.org; Sun, 17 Sep 2023 04:00:07 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qhix2-0050RF-FK for pgsql-bugs@lists.postgresql.org; Sun, 17 Sep 2023 04:00:05 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bceca8a41aso54817741fa.0 for ; Sat, 16 Sep 2023 21:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694923203; x=1695528003; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TW3uFSAJ0pHdooTKlTaLm69uQcaqc/OufJsHo8h8q70=; b=CeZNXp5ci4iql+KJT3eKRaZC1W8enfbFiXVYg8UwDstjo5SKdIAbbNAxb/eGcdKD0z 92t1h+sJX5x2Jh4JD1KekkMjSvnOSxFd/WVNP6Pk0pgAj9IbCRGs0w6fj0F6JoM3oBwh QfVIwRDt01kW498Z7W7Os7kWUFaGnBOeyBHb91VMqBeGymbXfFXc18OYIKoxBt6HBGlm rzTXlvY/Yqdb30XyQDPt01kyeiWB3KESnwUH2iRBkYVAdLeqCXyB18D6TEE2UmiJtPSV pJDsH68KWoM0mLE58IA7QBnTRQgqa7/s2N1zi8ByojN/FDjgF7fbC7WM31fgGA6Wi+mf uHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694923203; x=1695528003; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TW3uFSAJ0pHdooTKlTaLm69uQcaqc/OufJsHo8h8q70=; b=DuvrnkTLuuyWeb9Je4wEa+ArHpkIt44yLp4iFk6v1+TXu4orEEoiwP1ZqAGrju+Ebi JpSgCrQgtzKGtCSG27lmsvqZMDl0Xv7qA+I4c1yQo67UzeaUOdC0zTvZYEXastkYvj1m 32HCqAcQI9ObMCdhdIvlPazoZyeW33NgSc8Ok5VaDUBEy8TsBIqDlP9c8ueeQRBmjemF ZpU3RsI9QnWmFwF0VdtelS4zdRjQ4iP6XDF91ki/iqnEB09Xf1vqN1o+PJCj0CcBIepV jsRl11SpHwIxPqaRYP8oxaDwc3Ji0iRcbwfD6lsPkC6/YA/+TNQXXDjYu2cdMH05pPrw vX6Q== X-Gm-Message-State: AOJu0YzbbnSxpIPrn38Pl1mAqz5YdfUJGPGE75UTjQExfBaYCOK3lICG 9e3uk90leV0y0MR/23auDytDQpw2mXBttw== X-Google-Smtp-Source: AGHT+IHpo0Xryt0aos3zT3zD3I+r4qsD/Mdni4ySP2Fbw3rxA5vFo/uqX5HgtIM8avl9OkmDfBC9TQ== X-Received: by 2002:a2e:7308:0:b0:2bc:b557:cee9 with SMTP id o8-20020a2e7308000000b002bcb557cee9mr5048888ljc.43.1694923202408; Sat, 16 Sep 2023 21:00:02 -0700 (PDT) Received: from [1.0.0.7] ([81.23.167.222]) by smtp.gmail.com with ESMTPSA id t25-20020a2e8e79000000b002b9e5fe86dasm492525ljk.81.2023.09.16.21.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Sep 2023 21:00:01 -0700 (PDT) Message-ID: Date: Sun, 17 Sep 2023 07:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: BUG #18070: Assertion failed when processing error from plpy's iterator Content-Language: en-US To: Michael Paquier , Tom Lane Cc: pgsql-bugs@lists.postgresql.org References: <18070-ab9c171cbf4ebb0f@postgresql.org> <9fa9c154-d084-07de-8224-aab7fc8a119e@gmail.com> <3920993.1694874885@sss.pgh.pa.us> <5eba3ea5-ae13-aab2-35d6-cd3e58dab08b@gmail.com> <3984911.1694908923@sss.pgh.pa.us> <3998850.1694916190@sss.pgh.pa.us> From: Alexander Lakhin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 17.09.2023 05:06, Michael Paquier wrote: > On Sat, Sep 16, 2023 at 10:03:10PM -0400, Tom Lane wrote: >> seems unnecessarily ambiguous, and so confusing as to whether the error >> message is correct. Let's make the input string be something other >> than 'DD' here. > Yep. Good point to use a different string for the input. Thanks for paying attention to it! I agree with all the changes proposed. I'm going to be off today, so I could prepare all the patches tomorrow, or if you finish it, I would be very grateful. Best regards, Alexander