Re: Move FOR PORTION OF checks out of analysis - Mailing list pgsql-hackers

From Paul A Jungwirth
Subject Re: Move FOR PORTION OF checks out of analysis
Date
Msg-id CA+renyXyUz4nei=tTsX6Ohy1069FQnSFR063kV8LnOF1oUuKLQ@mail.gmail.com
Whole thread
In response to Re: Move FOR PORTION OF checks out of analysis  (jian he <jian.universality@gmail.com>)
Responses Re: Move FOR PORTION OF checks out of analysis
List pgsql-hackers
On Tue, Jun 9, 2026 at 1:11 AM jian he <jian.universality@gmail.com> wrote:
>
> missing errcode, we can change it to
>
> +        if (contain_volatile_functions(parse->forPortionOf->targetRange))
> +            ereport(ERROR,
> +                    errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
> +                    errmsg("FOR PORTION OF bounds cannot contain
> volatile functions"));

Thanks for the note! Here is v9 with that change.

Yours,

--
Paul              ~{:-)
pj@illuminatedcomputing.com

Attachment

pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Re: LLVM JIT: any JIT-compiled query crashes (SIGILL) on a libLLVM 19 + ASAN build
Next
From: Jeff Davis
Date:
Subject: Re: Commit Sequence Numbers and Visibility