Hi Jian,
Thanks for looking and for the comment text. With your diff a text
EXISTS column gets no collation, so sqljson_jsontable fails. A COLLATE
inside DEFAULT can also change the result collation, so I would keep
0002 as it is.
Adding Amit, since 0001 fixes a regression from e405a46c45b that can
make pg_upgrade from 18.6 fail.
Thanks,
Shihao