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 1ukU4k-002zTE-9o for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Aug 2025 20:52:30 +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 1ukU4g-00GAI6-Rl for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Aug 2025 20:52:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ukU4g-00GAHx-H7 for pgsql-hackers@lists.postgresql.org; Fri, 08 Aug 2025 20:52:26 +0000 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ukU4c-001VDc-2b for pgsql-hackers@lists.postgresql.org; Fri, 08 Aug 2025 20:52:25 +0000 Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-70767eef931so31232136d6.3 for ; Fri, 08 Aug 2025 13:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1754686340; x=1755291140; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5XmzSJs+0KJd/L9rXlHwk4nJZAvLx07tvw0M94vl5p4=; b=ddXo8Hf4JrPuxKjlo9j/7Z/gp4HJnF1iK6wo8HmM0sAbjQ3GHk50dDGaM6inBY94KG cu/wxUEKKmamDX1Li5ZIR9g+2ByUhF7eO2885JMeEJ7kmcVYysIyBr9xaGpXtXMcJStM i28NZkEUU9jk3ta6T0Iby0EaRQ2fdkMqGyF4uMiYYNxUphciKfQ28wsJYMM2byheLUi1 4rShtXo4G3hhBnUNRFoJrNhO0VOLY1O/PkEwJgzSVVp94dzV+ZYnblBPLDnZ2MlCankP Nj9X6k3bG62W3hwpnDm5IGz1sTZzY3eTtc4FdBVxJmwMI8fLxWQIkQBGEjzweMK2K3yb z7JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754686340; x=1755291140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5XmzSJs+0KJd/L9rXlHwk4nJZAvLx07tvw0M94vl5p4=; b=nfOEodce95QNjmAjF2TzhMiHlVUH10fJ5Aiy8n6sHFRgXgKpFmZDxs7Bjpt1c6aZ90 R2ibIc7P3nuRciweJ7BQogBgZkpnSmC37RPXtl8JJ92mVFUh/dWXMXmq/KvEOBkyB3OO xt9Tf+efy9aw0SRtpk5qZ1mxghTL+GLBgeoEvACYjoN9Vc+lM0sjuaGtEN+4AUk54dra RmPIndAAlQPbySrvj3Ccna7cUmW5uZCvK5O/hV0n271g/ZMHwce9rcCYDpa+q+nWrAN2 sPLNHsgmzAFBac5uU/TQghrDwuMZ2+vPblvBWMs5buTKM1Mvi30YvaKjnJLJhKglubni eAyQ== X-Forwarded-Encrypted: i=1; AJvYcCW4ZPb2LfYRp5laEgFaDGn7Y0i0mDLvnPnNwq4E01norcuVrtc7r6SqTWUy+wXfnmEZQNRwPSNy2jZpAjNR@lists.postgresql.org X-Gm-Message-State: AOJu0Yz4heSDaPBVpCm4+RpDf4OxFImqEgOFp5WhYrGvyizeNcqUfd2H 8hlWEW5iOuh8aeaJtrjJuYX1lQoNu/XkassqRWa8aE7nPKI+wc3NTYmdoO3rE2SSQ6JUuG9LWch NHlt78vB7o1saeO+RAzFids3BVGSDAddriSiaNL4w X-Gm-Gg: ASbGncs0JMXpN1+mL/YsMzx9/GHDvHeP6MwGThD4o7sJYtb/2lxMmorepzQ44XNbu6V VwQu/iGEMvbUSLZmh2DMxvXyONdmFwu0X575YpnSxaEHh9o8YYdQxY5KUxZPlO+jimMCKyWLIb8 1a63a+pdC9e33+SLa0EloqYzH3gzoZWKAmlGMtruvk5Nxjd/71hKjOzsRngQhXkJMhxtULSAM58 Wdfk2Q= X-Google-Smtp-Source: AGHT+IH+Ss0iCXiG6i8n3SbNeu+gXx1MvD7E8XqyCieADgJQpBs8oFT585KlVQ2q7rjVNblbGY8xk/o2E4sngvi8ZGU= X-Received: by 2002:a05:6214:226e:b0:705:227d:a511 with SMTP id 6a1803df08f44-7099a43746fmr70331466d6.32.1754686340187; Fri, 08 Aug 2025 13:52:20 -0700 (PDT) MIME-Version: 1.0 References: <87ldnvgkdq.fsf@wibble.ilmari.org> <87fre1h90x.fsf@wibble.ilmari.org> In-Reply-To: <87fre1h90x.fsf@wibble.ilmari.org> From: Jacob Champion Date: Fri, 8 Aug 2025 13:52:09 -0700 X-Gm-Features: Ac12FXzVqJ3N0cpoyYJOHfc5hV27T-kcbfC89quCZo6MOIjJNLbz3SaTy7-1Hbw Message-ID: Subject: Re: [PATCH] OAuth: fix performance bug with stuck multiplexer events To: =?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= Cc: Thomas Munro , PostgreSQL Hackers , Daniel Gustafsson , Peter Eisentraut Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Aug 8, 2025 at 1:07=E2=80=AFPM Dagfinn Ilmari Manns=C3=A5ker wrote: > $ perl -MJSON::PP=3Dencode_json -E 'say encode_json([1, 2, 3])' > [1,2,3] > > $ perl -MJSON::PP=3Dencode_json -E 'say encode_json([1 =3D> (2, 3)])' > [1,2,3] I swear, this language. But: $ perl -MJSON::PP=3Dencode_json -E 'say encode_json(1,2)' Too many arguments for JSON::PP::encode_json at -e line 1, near "2) $ perl -MJSON::PP=3Dencode_json -E 'say encode_json((1,2))' 2 So what's going on there? (Google is not very helpful for these sorts of Perl problems; I don't even know how to describe this.) I had to revert the test for unrelated reasons [1], so if this is indeed guaranteed to be safe then I can make the change in my next attempt. Thanks! --Jacob [1] https://postgr.es/m/CAOYmi%2BnCkoh3zB%2BGkZad44%3DFNskwUg6F1kmuxqQZzng7= Zgj5tw%40mail.gmail.com