Re: Extract numeric filed in JSONB more effectively
From:
Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com>
To:
jian he <jian(dot)universality(at)gmail(dot)com>
Cc:
Chapman Flack <chap(at)anastigmatix(dot)net>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: Extract numeric filed in JSONB more effectively
1. fix the bug Jian provides. 2. reduce more code duplication without DirectFunctionCall. 3. add the overlooked jsonb_path_query and jsonb_path_query_first as candidates