Re: Question about duplicate JSONTYPE_JSON check

Maciek Sakrejda <maciek@pganalyze.com>

From: Maciek Sakrejda <maciek@pganalyze.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: Tender Wang <tndrwang@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-12T16:27:21Z
Lists: pgsql-hackers
Thanks for the quick fix. I was able to reproduce the assertion
failure and to confirm that it's resolved with the patch. Looks good
to me.



Commits

  1. Fix copy-paste error in datum_to_jsonb_internal()

  2. Unify JSON categorize type API and export for external use