Re: jsonapi type fixups

2024-06-21 Thread Peter Eisentraut
On 20.06.24 14:05, Andrew Dunstan wrote: On 2024-06-18 Tu 7:48 AM, Peter Eisentraut wrote: I have this patch series that fixes up the types of the new incremental JSON API a bit.  Specifically, it uses "const" throughout so that the top-level entry points such as pg_parse_json_incremental()

Re: jsonapi type fixups

2024-06-20 Thread Andrew Dunstan
On 2024-06-20 Th 8:05 AM, Andrew Dunstan wrote: On 2024-06-18 Tu 7:48 AM, Peter Eisentraut wrote: I have this patch series that fixes up the types of the new incremental JSON API a bit.  Specifically, it uses "const" throughout so that the top-level entry points such as

Re: jsonapi type fixups

2024-06-20 Thread Andrew Dunstan
On 2024-06-18 Tu 7:48 AM, Peter Eisentraut wrote: I have this patch series that fixes up the types of the new incremental JSON API a bit.  Specifically, it uses "const" throughout so that the top-level entry points such as pg_parse_json_incremental() can declare their arguments as const char

jsonapi type fixups

2024-06-18 Thread Peter Eisentraut
I have this patch series that fixes up the types of the new incremental JSON API a bit. Specifically, it uses "const" throughout so that the top-level entry points such as pg_parse_json_incremental() can declare their arguments as const char * instead of just char *. This just works, it