Re: jsonpath

From: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
To: Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>
Cc: Oleg Bartunov <obartunov(at)postgrespro(dot)ru>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Stas Kelvich <s(dot)kelvich(at)postgrespro(dot)ru>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, David Steele <david(at)pgmasters(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: jsonpath
Date: 2019-01-23 22:16:22
Message-ID: CAPpHfdsFV0-dVH9p5x7N1JnQMCUuq_Rc+Zo+J7sOogaLJorSDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 23, 2019 at 3:24 PM Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru> wrote:
> Attached 28th version of the patches.
>
> On 23.01.2019 8:01, Alexander Korotkov wrote:
>
> On Wed, Jan 23, 2019 at 3:40 AM Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru> wrote:
>
> Attached 26th version of the patches:
>
> * Documentation:
> - Fixed some mistakes
> - Removed mention of syntax extensions not present in this patch
> - Documented '.datetime(format, default_tz)'
> * Removed accidental syntax extension allowing to write '@.key' without '@'
>
> Thank you!
>
> I've made few more changes to patchset:
> * Change back interface of JsonbExtractScalar(). I decide it would
> be better to keep it.
> * Run pgindent
>
> I have fixed indentation by adding new typedefs to
> src/tools/pgindent/typedefs.list.

Good catch, thank you!

> Also I have renamed LikeRegexContext => JsonLikeRegexContext.
> * Improve documentation of .keyvalue() function.

Ok!

I've also fix bug with possible reference to already freed value of
jsonpath in jsonb_path_execute(), pointed by you.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
0001-Preliminary-datetime-infrastructure-v29.patch application/octet-stream 32.6 KB
0002-Jsonpath-engine-and-docs-v29.patch application/octet-stream 277.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2019-01-23 22:37:25 Re: Thread-unsafe coding in ecpg
Previous Message John Naylor 2019-01-23 22:08:56 Re: WIP: Avoid creation of the free space map for small tables