Kirill Reshke <[email protected]> writes:
> On Sat, 31 Oct 2026 at 14:53, Kirill Reshke <[email protected]> wrote:
>> On Sat, 31 Oct 2026 at 13:56, Heikki Linnakangas <[email protected]> wrote:
>>> Is ERRCODE_FEATURE_NOT_SUPPORTED correct here? Is this something that we
>>> just don't currently support, but we potentially could, or is it
>>> something that just doesn't make sense?
>> I think this is something that simply doesn't make sense. But reading
>> errcodes.h using myself (not AI), I don't see any better option. maybe
>> ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE ?
> Also ERRCODE_WRONG_OBJECT_TYPE could do but is defined in /* Class 42
> - Syntax Error or Access Rule Violation */. Not sure if we violating
> something here
I think FEATURE_NOT_SUPPORTED is fine here. Let's not spend too
much effort on the color of this bikeshed.
regards, tom lane