Re: jsonpath

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
Cc: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>,John Naylor <john(dot)naylor(at)2ndquadrant(dot)com>,Jeff Janes <jeff(dot)janes(at)gmail(dot)com>,Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)ru>,Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>,Oleg Bartunov <obartunov(at)postgrespro(dot)ru>,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>,Robert Haas <robertmhaas(at)gmail(dot)com>,Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: jsonpath
Date: 2019-03-28 13:34:15
Message-ID: 128935DB-EFE1-437F-8675-67A59A5DB6E9@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On March 28, 2019 9:31:14 AM EDT, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> writes:
>> I mean repeated invocations of
>>     psql -c "select '$ ? (@ like_regex \"pattern\" flag
>\"a\")'::jsonpath"
>> These get crash, no crash, crash, no crash ...
>
>That is just wacko ... but it does seem to support my thought of
>a wild store somewhere. The mechanism for this case might be
>that memory layout is different depending on whether we had to
>rebuild the relcache init file at session start or not. Similarly,
>the fact that the full test script reliably crashes might be
>dependent on previous commands having left things in a certain
>state. Unfortunately that gets us little closer to a fix.
>
>Has anybody gotten through a valgrind run on this code yet?

Skink has successfully passed since - but that's x86...
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2019-03-28 13:35:07 Re: amcheck verification for GiST
Previous Message Alexander Korotkov 2019-03-28 13:33:44 Re: jsonpath