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 1thTxR-002yZK-9X for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 13:36:17 +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 1thTxP-001Sh4-RX for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2025 13:36:15 +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 1thTxP-001Sgv-G8 for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 13:36:15 +0000 Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1thTxM-0002Yk-1w for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2025 13:36:15 +0000 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-6f666c94285so37644087b3.3 for ; Mon, 10 Feb 2025 05:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739194571; x=1739799371; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QFUTBHZ1sHnYNKi4dbsEF5eQk3VVPE1PG39pquaPls0=; b=W1BPGk8AvW7YMIA36xYNwwl1B9G1b79N8vziOKR9YlSoSkqyG9y2FqmhR9gvwBZvU2 /f85jIv96nrwaGUhGLNqMhzlnNilKOcRw1Hovuc4/qC8pqIbivx9VoNiSux1UJqtMUJS zgopRfhdoL9i0bG7iEZO3RmuoAQfqbqtWGFFfJ4hXX2fB+uUanm/LbcfNoE6m2XH/oAl DEdEbzrbiJ8Rihy2Rn3VmAvv8kVTa8zcZ5fssbEEnZlGNuaeOkm+pSaIRaTJhplnwFGM jbr1X0/Is+HHDtUXwqHI+wJHrBAim0XsD0yOrHLN6404Ba3Z6sXYeS2kZfwcXWBY0iYc CuCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739194571; x=1739799371; h=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=QFUTBHZ1sHnYNKi4dbsEF5eQk3VVPE1PG39pquaPls0=; b=WxgooCsEVxh0zjqymrjXcKDaS5QOpUGb/ESJGeYQjrtNd7cxP7N1Qf1pAaBRMswOVR RGRy+vJmBBESNvIARAVGhaKftCJMJZhTgL9vz8yFFON7exgVNBMKZ8yhPkY8Ovajwhwn 3QkA2kIVVaawtu53WQvak22F50gpQpnW1fyys2stp81Vw8Dx1Xm+qIrl2xp9reGhxp+6 XzPx8u92k9uI095zrVC2njx7nJiy4qCJWwOLV1lzhXkDrFuWmAXEjqovEc6awtJZt6Aj 5dsvWgcNyuuULr7eWU2v5AcINuAxHF/4rgWKFpxmVYUJ+bkImo7ogVU7yyrQDhKEJP49 QQQw== X-Gm-Message-State: AOJu0YxDB/hOO9WmyzbPmvEqQDNL630t7okeKcwUbX7ww5gzHoMwc3PG /LBrwTrDG5Dbr9f84mWdI4vO/vqzcyWs8VrAypNsKP/nafoeCGZ/64JleR38XoGP1LV0hj9H3XO abtEs0u6SmsGHufimoU65QnhDVKcNcP1J X-Gm-Gg: ASbGnctYVQM+9NqFisinXOqXPG0esKQFEfPG1MVDHn0Sb7TNPZZAj4oWhYSoXfPHHZ4 umf8KW8QH55noDpTGAUQ7Evqz6EF9EpJKhqeLNtaeWdVflVNAxwClqt7XAcKU4verUl98jcyONg == X-Google-Smtp-Source: AGHT+IEab7n8/fS0OXpTCyfnsdlthuWsRcgVeaUAAuOfmZv0ds037mXVMZirrx2EIfGoRzpUuH3t4LGQszNU4Yr+IrA= X-Received: by 2002:a05:690c:748a:b0:6f9:af1f:fdd0 with SMTP id 00721157ae682-6f9b29d7616mr124963327b3.31.1739194571638; Mon, 10 Feb 2025 05:36:11 -0800 (PST) MIME-Version: 1.0 References: <2106557.1739163733@sss.pgh.pa.us> <788aca1329878b3fbc93da929bd54b758ec5e4b4.camel@tpg.com.au> In-Reply-To: From: Mukesh Tanuku Date: Mon, 10 Feb 2025 19:06:00 +0530 X-Gm-Features: AWEUYZkcre9hlgejlcHPB4WzVsvV7oRyiaysPbVxBCXYXjWCVtNN8kG-c1mGF6w Message-ID: Subject: Re: PG-15.6: timeout parameters erroring out To: rob stone Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000a35032062dc9caef" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000a35032062dc9caef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I see there is some open PR in awx-operator ( https://github.com/ansible/awx/issues/15406) which is related to this. AWX is connected to DB in my case. On Mon, Feb 10, 2025 at 7:04=E2=80=AFPM Mukesh Tanuku wrote: > Thanks for clarifying, got it. > Is this issue specifically reported in only the PG 15 version? more synta= x > sensitivity. > > On Mon, Feb 10, 2025 at 6:09=E2=80=AFPM rob stone = wrote: > >> >> >> On Mon, 2025-02-10 at 16:06 +0530, Mukesh Tanuku wrote: >> > Thanks for your quick responses. >> > >> > I have just added the session related timeout parameters in the >> > postgresql.conf file also tried tweaking with different >> > values/patterns like ('1min', '1 min', 80000, 10s, '10s', '10 s') >> > >> > but i get an immediate error after reloading the configuration file. >> > >> > postgres.log file >> > 2025-02-10 10:27:10.748 GMT [934108] LOG: received SIGHUP, reloading >> > configuration files >> > 2025-02-10 10:27:10.749 GMT [934108] LOG: parameter >> > "idle_in_transaction_session_timeout" changed to "80000" >> > 2025-02-10 10:27:16.117 GMT [2531150] ERROR: trailing junk after >> > numeric literal at or near "80s" at character 43 >> > 2025-02-10 10:27:16.117 GMT [2531150] STATEMENT: SET >> > idle_in_transaction_session_timeout =3D 80s >> > >> > though we are not firing any SQL statements explicitly we see this >> > error. >> > >> > i guess something else is the issue other than spacing. >> > >> > >> >> I'd say that 934108 is the config file reload and that 2531150 is from >> somebody running psql from a shell or SQL code coming out from an >> application. >> >> >> >> > >> > --000000000000a35032062dc9caef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I see there is some open PR in awx-operator (https://github.com/ansible/awx/i= ssues/15406) which is related to this. AWX is connected to DB in my cas= e.=C2=A0

On Mon, Feb 10, 2025 at 7:04=E2=80=AFPM Mukes= h Tanuku <mukesh.postgres@g= mail.com> wrote:
Thanks for clarifying, got it.=C2=A0
Is this i= ssue specifically reported in only the PG 15 version? more syntax sensitivi= ty.=C2=A0

On Mon, Feb 10, 2025 at 6:09=E2=80=AFPM rob stone <floriparob@tpg.com.au= > wrote:
=

On Mon, 2025-02-10 at 16:06 +0530, Mukesh Tanuku wrote:
> Thanks for your quick=C2=A0responses.
>
> I have just added the session related timeout parameters in the
> postgresql.conf file also tried tweaking with different
> values/patterns like ('1min', '1 min', 80000, 10s, = 9;10s', '10 s')
>
> but i get an immediate error after reloading the configuration file.= =C2=A0
>
> postgres.log file
> 2025-02-10 10:27:10.748 GMT [934108] LOG: =C2=A0received SIGHUP, reloa= ding
> configuration files
> 2025-02-10 10:27:10.749 GMT [934108] LOG: =C2=A0parameter
> "idle_in_transaction_session_timeout" changed to "80000= "
> 2025-02-10 10:27:16.117 GMT [2531150] ERROR: =C2=A0trailing junk after=
> numeric literal at or near "80s" at character 43
> 2025-02-10 10:27:16.117 GMT [2531150] STATEMENT: =C2=A0SET
> idle_in_transaction_session_timeout =3D 80s
>
> though we are not firing any SQL statements explicitly=C2=A0we see thi= s
> error.
>
> i guess something else is the issue other than spacing.
>
>

I'd say that 934108 is the config file reload and that 2531150 is from<= br> somebody running psql from a shell or SQL code coming out from an
application.



>
--000000000000a35032062dc9caef--