v5 code, v4_test and v4_test_15 patches look good to me.
I checked ECPG regression on master, REL_18, REL_17, REL_16, REL_15, REL_14 using both make and meson.
I have finished my review work on the patches. Thank you!
Thanks, everybody, pushed (as combined patches)
Looks like this committed a case, attached a patch to fix this.
Thanks,
Satya
Thanks Satya for looking into this. However, we don't need to add the validation here because the caller ecpg_do_prologue() has already taken care of it. Adding it again would be redundant. What do you think?