pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Andres Freund <andres@anarazel.de>
Cc: John Naylor <john.naylor@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Nikita Glukhov <n.gluhov@postgrespro.ru>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Oleg Bartunov <obartunov@postgrespro.ru>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Stas Kelvich <s.kelvich@postgrespro.ru>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: David Steele <david@pgmasters.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Subject: Re: jsonpath
Date: Thu, 28 Mar 2019 09:31:14 -0400
Message-ID: <4971.1553779874@sss.pgh.pa.us> (raw )
In-Reply-To: <dcff626f-d44d-ad96-ecc0-109601e2cfb9@2ndQuadrant.com >
References: <CAMkU=1w1qBvoW82ZTFpAKae027R-2OHw-m6ALe0VQRNAFueBVA@mail.gmail.com >
<CAPpHfdvbbVfgjm7Y0QQK8cmp4oXKQ1btXVk7arQKqHQqtX3TLg@mail.gmail.com >
<CAPpHfdskvCZhGFHKZ49iX9=5z5Yk+2LXyKQ_XeCx7cHziV1znQ@mail.gmail.com >
<CACPNZCt9dFP=LovsjXKNCtpEG32dkWLDVOo_9+XP406Ob_ptbw@mail.gmail.com >
<CAPpHfdu6meyXZtyWL6vw0P54tJO8VCUL5my5qcfi29C4DDvACQ@mail.gmail.com >
<20190324164458.srta7sz5ffizkqv5@alap3.anarazel.de >
<CAPpHfdsK2+UsN9SCH0Ck8745S-eOeE5GEjzS0GoKwKYm=pt_Lw@mail.gmail.com >
<CAPpHfduLp+WgnhgOWSebUL0UCw9uYrXAkZr2=9Js0eUe0f0wuA@mail.gmail.com >
<6060.1553610709@sss.pgh.pa.us >
<CAPpHfdvzvSSw6=C4JTDuxj1OjdNvVm7ncvLmY0fWr5dDH9qYfQ@mail.gmail.com >
<CAPpHfdsXWZFWXuWXKKavtbw8taZ6QRzEwB6Nf2DX19z1HKFuPQ@mail.gmail.com >
<16120.1553694533@sss.pgh.pa.us >
<565a6051-b9df-3e94-b858-abce0f8b6436@2ndQuadrant.com >
<CAPpHfdvkMdV_nQR3gO41GWJS=2Gjdrm6QhhYH2DwXJ+fMa6gBw@mail.gmail.com >
<23e82578-b648-ab57-a4af-791abccff344@2ndQuadrant.com >
<CAPpHfdsZvAQUQg6jjv4VU_Yn=_dhinmftZxLWK6EZuZY+Aq3Ng@mail.gm! ail.com >
<dcff626f-d44d-ad96-ecc0-109601e2cfb9@2ndQuadrant.com >
Andrew Dunstan <andrew.dunstan@2ndquadrant.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?
regards, tom lane
view thread (198+ messages) latest in thread
Message-ID: <4971.1553779874@sss.pgh.pa.us>
Permalink: ../4971.1553779874@sss.pgh.pa.us/
Also on: postgresql.org/message-id/4971.1553779874@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrew.dunstan@2ndquadrant.com, a.korotkov@postgrespro.ru, andres@anarazel.de, john.naylor@2ndquadrant.com, jeff.janes@gmail.com, n.gluhov@postgrespro.ru, tomas.vondra@2ndquadrant.com, obartunov@postgrespro.ru, michael@paquier.xyz, s.kelvich@postgrespro.ru, thomas.munro@enterprisedb.com, david@pgmasters.net, robertmhaas@gmail.com, pavel.stehule@gmail.com
Subject: Re: jsonpath
In-Reply-To: <4971.1553779874@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox