Dean Rasheed <dean.a.rash...@gmail.com> writes: > On Sun, 22 Nov 2020 at 20:58, Tom Lane <t...@sss.pgh.pa.us> wrote: >> However, I think that just adjusting the error string would be >> helpful, as attached.
> +1 >> (I'm also wondering why the second case is generic ERRCODE_SYNTAX_ERROR >> and not ERRCODE_GENERATED_ALWAYS. Didn't change it here, though.) > I can't see any reason for it to be different, and > ERRCODE_GENERATED_ALWAYS seems like the right code to use for both > cases. Sounds good to me; pushed that way. regards, tom lane