Re: not fully correct error message - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: not fully correct error message
Date
Msg-id CAFj8pRCAA0L7zQZaRVTByY1RxfpzV0Yy3dzYL2iccnDmGauUBA@mail.gmail.com
Whole thread Raw
In response to Re: not fully correct error message  (Marcos Pegoraro <marcos@f10.com.br>)
List pgsql-hackers


so 3. 1. 2026 v 13:23 odesílatel Marcos Pegoraro <marcos@f10.com.br> napsal:
Em sáb., 3 de jan. de 2026 às 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

pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: confusing results from pg_get_replication_slots()
Next
From: Andreas Karlsson
Date:
Subject: Re: not fully correct error message