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 1vc0qu-000uF1-0J for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 12:35:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vc0qs-00CgAz-2W for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 12:35:27 +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 1vc0qs-00CgAq-1K for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 12:35:27 +0000 Received: from mail-yx1-xb12c.google.com ([2607:f8b0:4864:20::b12c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vc0qq-004F9h-1p for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 12:35:26 +0000 Received: by mail-yx1-xb12c.google.com with SMTP id 956f58d0204a3-64455a2a096so10272658d50.3 for ; Sat, 03 Jan 2026 04:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767443723; x=1768048523; 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=XVhaUAUoZQ0u2d5DNRnNqAkR0L92jReuIM0wMivMeMY=; b=C72J7nqfucU2Skt2IRjgpD986/snBtlGmZ8xpLJyztKm0rJR6qOPsnBSWxDnrL5yCl qjsbK/IXFPlAFwGOZz2UgMqSCNZTP/FizTZV/qTdy35syh4T+w2N/ZzBRJinldK8aRP/ g2dp+0si+Hl9mba4FdUdxWUXqOtSUBvNo1O9hVM7s+KWHpf6Yx7OneLjcr4U3djTCp6r O2b3eH9lzdfKtZeAcKjQoY1miIEM2KFxFOP1/f2bavazXPMX+mfrrirt9rm21OBE5UCF wVVK7lTuawAfC1v/pjJstKnqAw4+GDKs8AeSHBU2KYs/ckkXJpdBa00ObIVn6dbJy8Wx vtqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767443723; x=1768048523; 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=XVhaUAUoZQ0u2d5DNRnNqAkR0L92jReuIM0wMivMeMY=; b=edK/mKkkU9lZ7uLTndoJlj2OEdOIp3kaLUgoWf8aj9VRIJ8W5jOXqoG9axG/YXP0ec +RMTpefXUEWxzWURMUfuCY5qoT588O7Zm87ALGC6W0GtFX5sef1i3XtI6uOxxamnHDA3 EihxP9aIBseHfJl92+gYfn87Vuv3HbBfQ8dhxSzpXTegHDxjXlCOKj9+9xFQz70sUNHS MFi5dHBaKTqkkH/ZupnRKGI9syXz6pMwKiZVGEMoSBQ01NV+RpsY5QMEF4fTSj2EJGMx 3h02q60HI/F2h6R3+ugvdmhbyztnfFgILs2IhL16589CnxofXp/cgo8ewSJMy2otnf0y l66g== X-Forwarded-Encrypted: i=1; AJvYcCUQIEKpQ6EoUNGKeahg7Cx4pkSHjwELXw3h3ncrXrFd7T8J1aCAtS5rA7qb8YvknnaCXqSmJaCoISAGK36F@lists.postgresql.org X-Gm-Message-State: AOJu0YyDbQiX+ih6AnCpjNU7vnvQggQsuxwQYkEaJue+Xe4rPxRwtdUA iR6LoxOe428yrzroUBs/F7xqUaDtLikcenz04o68eOdn8u1WJpRosUk22TgWf4FG5ghQ6Ocjczm 7vd9MzPjBmc1EQLsz6PQNjlyfEbYoXFw= X-Gm-Gg: AY/fxX4Esx/WjDbl03xscL9aHiYLLaUm9+9ca+QXUwOguonXKCJ4p67X2ZAmaArzGvG 24f3KlQ3LCw5zaihzaCmzTjI29VrPWfXHjIQkesFP5n2QwsZQKVNJbCuimZ5mACChTiyndNIHLh Em4gp6UxOaJNHRSAZV/IJdVSDpHZ4+Yvo6tw0oFeQVBN9ughY02ZUoqxPGeIyMx9D8vsmrn6YMx 0MV9VxbtzYyAuNsX5o35Jq52d9h2FYoB53QIQerEFYdA1aVHXydizk6ywhxIdBkSxgcbhKuSTNK CWJzHzEaeqJyVL/reepWwRjsJgBPDGrulF7SfwiLLT591pAgQVm3pJEb3e8ZYNbXQ/RZGqywlqq eqm6mIWMXIX/uV16JTz1tsLvy X-Google-Smtp-Source: AGHT+IGSFwPPC6djERHbIwk5C0pKZ2vcuqXKsCI3R6adXY6gDmnWtxmL+RCV8mKqBhcU+koVDBf50hbSTf8TZ87oDpc= X-Received: by 2002:a05:690c:6311:b0:78f:a561:b3ca with SMTP id 00721157ae682-78fb403af27mr788660497b3.43.1767443722624; Sat, 03 Jan 2026 04:35:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pavel Stehule Date: Sat, 3 Jan 2026 13:34:46 +0100 X-Gm-Features: AQt7F2rcyLmosQzMbBZEpv-PzeEklDkTfAnoas_sfJqnPraHkPICrwVPVMzneoQ Message-ID: Subject: Re: not fully correct error message To: Marcos Pegoraro Cc: jian he , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="0000000000003f633c06477b0ff6" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000003f633c06477b0ff6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable so 3. 1. 2026 v 13:23 odes=C3=ADlatel Marcos Pegoraro n= apsal: > Em s=C3=A1b., 3 de jan. de 2026 =C3=A0s 03:35, Pavel Stehule < > pavel.stehule@gmail.com> 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 ? > It is correct, but maybe too long. Generally, there is a term "routine" as a synonym for "function, procedure or any stored procedure code", but I am not sure how much is accepted by the community > regards > Marcos > --0000000000003f633c06477b0ff6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


so 3. 1. 2026 v= =C2=A013:23 odes=C3=ADlatel Marcos Pegoraro <marcos@f10.com.br> napsal:
Em s=C3= =A1b., 3 de jan. de 2026 =C3=A0s 03:35, Pavel Stehule <pavel.stehule@gmail.com>= escreveu:
he= re is a patch (with small regress test)
=
An anonymous block doesn't accept vacuum too.
Wouldn't it be bet= ter to specify what kind of block you are running instead of=C2=A0
function,= procedure or anonymous block ?

It is correct, but maybe too long.

Generally, there is a term "routin= e" as a synonym for "function, procedure or any stored procedure = code", but I am not sure how much is accepted by the community



regards
Marcos
--0000000000003f633c06477b0ff6--