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.96) (envelope-from ) id 1vc0f3-000pmD-0Z for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 12:23:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vc0f2-00Cdzm-0Q for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 12:23:12 +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.96) (envelope-from ) id 1vc0f1-00Cdzc-2H for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 12:23:12 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vc0ez-004F41-2Q for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 12:23:12 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-b7277324054so2084523366b.0 for ; Sat, 03 Jan 2026 04:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f10-com-br.20230601.gappssmtp.com; s=20230601; t=1767442987; x=1768047787; 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=Y3NxxHzZRLuZ6vxAbPOxHakwOG4GLrn0mNoQVDqfLS4=; b=cYcpB8lRa5qP3OqFakpXRt8m4QUxr4gaUZmcTfORv01pasQVr+RJz+OXf34u2xNEpW DAtDyuZ1T+6Jqr7SmGGqtffN021t2FnFaK77aFvPGoPt5suuxAjH9yckEp8JiGVcSLtC b8GlnOCdyhjH4xt/rhLtDZLl+DZ8Fko6GTzHFjatbgpyyOoqNWws9M22h3CtvKI+Z1mk wtQbmK5eTXkKdMVVdNoSsxg1qaDW6p10dYk2wBtJhVV3PfN7kpfe2kggXReesVMweIH9 gKXEafkxM2YWP7SYA838jE4HAIZDdhNRHLfmHfuq2hBE8GpYgp2S8BbzOo993lsNdqyw IrAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767442987; x=1768047787; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Y3NxxHzZRLuZ6vxAbPOxHakwOG4GLrn0mNoQVDqfLS4=; b=p87s5wzF5pIRjJgL/Ewe22K2lVRNCn+7kM7TSgBic5C1lJTgPw/MtK0J+UIt/DlVV9 cj+EzuqIrDIoZlQ03OAyNJjM1kEHad0upevfr9bW/+Fn6XvBNGusOnk3frgs6y4DAJhW DP8dMrqyYrGnMSuh1fAuNhyfNfZz0yadMTGj9Yatd4Zl+LHLU8q0ibnVL6yJiD2ptZKM 4X5dxVwxu0I5fvaKwPSz84iIl/ULwHthsTDhQg5l9JOKyPzSDascfQC136t/nTepgIDx kYP3rb9m20O25avdEZwXVZhV0DZwI64WV64YqUksfLW9kbm35NiPMuFe4DyY++0Cr2JM yGwA== X-Forwarded-Encrypted: i=1; AJvYcCXRFdeC/Q7Scx5M5IsbboAiO/zOPssdf5huvc7QmYndvcOh3FJpb1qWE4mee9v+vdylX7iUEvV9h1GeZlL0@lists.postgresql.org X-Gm-Message-State: AOJu0YwTD3mFPERse7Onwg0x0vRdDvJJbp6eiLWdGI9SBbA33L5xJSZ4 /ufQD8DL01C7p9NtBOczxDWcjbjvaYhK/ahkbc+eaqCtb4yCoyRPwj/M143W5r+F+oqBN6ik43C ti4PDXD00xpcp8FxN8n4ic44EpNfG4vmNEYGu1iYw X-Gm-Gg: AY/fxX5LRgzAkoH3IOyYe50brJuNTe9tdw1tugvAAN9u3NYT9X5ZWjcln984JhnU7Qp ABDqH70JUHLMXWTOiwJvwGzQainztH2yW7rBM06tL1X1j4Jx9EKFoLG0LIaU6z5gg238X08o/Bm 6RaiDEzoY6j4A5OTadB7cagvu+Ocu1llwk7/HU+NiUehZ/np6wRQLcRYBsteETa4M2qLIlSx9B4 Tetz2xXJsV4GMUOAOCdBCio+PlE0eu2fHO96MB505ndt7hXbMPipz1fkxbqK8o+IqWBR/EJ X-Google-Smtp-Source: AGHT+IHHy3FkdfZhXyQVoOfCqknekx1661FBNaURzDs3ZAOGzInoygtterq4X3Rq6RDuiSbNDMdK683XGJBAa7CA3dQ= X-Received: by 2002:a17:907:1c17:b0:b76:da45:e3d6 with SMTP id a640c23a62f3a-b8036f60c66mr4499823466b.16.1767442986627; Sat, 03 Jan 2026 04:23:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Marcos Pegoraro Date: Sat, 3 Jan 2026 09:22:30 -0300 X-Gm-Features: AQt7F2oGVsuPq5JZqJ0vM2UT7RQoTcsH2-gmof7v2HEBBHmDiPFLXnnrYlbDKjA Message-ID: Subject: Re: not fully correct error message To: Pavel Stehule Cc: jian he , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="00000000000061010606477ae369" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000061010606477ae369 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em s=C3=A1b., 3 de jan. de 2026 =C3=A0s 03:35, Pavel Stehule escreveu: > here is a patch (with small regress test) > An anonymous block doesn't accept vacuum too. Wouldn't it be better to specify what kind of block you are running instead of function, procedure or anonymous block ? regards Marcos --00000000000061010606477ae369 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Em s=C3=A1b., 3 de jan. de 2026 =C3= =A0s 03:35, Pavel Stehule <pa= vel.stehule@gmail.com> escreveu:
=
here is a patch (with smal= l regress test)

An anonymous block doesn't accept vacuum too.
Wouldn't it be better to specify what kind of block you are running i= nstead of=C2=A0
function, procedure or anonymous blo= ck ?

regards
Marcos
--00000000000061010606477ae369--