Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: jsonpath - Mailing list pgsql-hackers

From Tom Lane
Subject Re: jsonpath
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: jsonpath  (Andrew Dunstan <[email protected]>)
Responses Re: jsonpath
Re: jsonpath
List pgsql-hackers
Andrew Dunstan <[email protected]> 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?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Planning counters in pg_stat_statements (using pgss_store)
Next
From: Abel Abraham Camarillo Ojeda
Date:
Subject: Re: PostgreSQL pollutes the file system