Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5WLO-0002QD-Q6 for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Mar 2019 14:00:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5WLN-0004RR-74 for pgsql-hackers@arkaria.postgresql.org; Sun, 17 Mar 2019 14:00:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5WLM-0004RK-Sd for pgsql-hackers@lists.postgresql.org; Sun, 17 Mar 2019 14:00:53 +0000 Received: from mail-yw1-xc43.google.com ([2607:f8b0:4864:20::c43]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5WLJ-0007vr-NF for pgsql-hackers@postgresql.org; Sun, 17 Mar 2019 14:00:51 +0000 Received: by mail-yw1-xc43.google.com with SMTP id z191so10918505ywa.6 for ; Sun, 17 Mar 2019 07:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=EX+wagBt5Z0y7ULmgwUiSXo2q4Auewm3l3wfrj6C2xI=; b=Og6HlYM9i0cnm8Pb5WEhrGxRGbSCmQ6fnHrFx4q3HAky70V2Ct60/xzNNWrqecLge5 YiJX42DZK8NBBfMcnL3OcorPwfskR608NA0MKDikt8tMiPb75hWCt+qvtu1mAi+9pfX1 cj5og/Nlrni90V8dgWVmYE5qZdm5xmkeo98Nc0Y19RwrNlJg97DCR14+WHOO+hHmbA7i Klln9DGNTD6Cl+FObstXmFuNuy2yBs9OLiCf1Z48FYQGEmmsZ1j3rIyyJZ1DQ8RNjIfm U9KTaob83uWcUNiKdkUGEhLY04w8oEdbqoQ5QYsJSm9bS+HRg6NelkXjHvx96HrIwgvB rm/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=EX+wagBt5Z0y7ULmgwUiSXo2q4Auewm3l3wfrj6C2xI=; b=U18GO8DLZLApcc35Bh65zLaGsHfmpLLEg/u7fAQ/9dApe4PriVmnots2GoZUCxRQnI hvwYgwdDFmiIV+fvigi+Rlo1ZTS8dd32nskyr0LZqXcthf+pGgphnNZgmkUEWmH1dPCk yK0HfmyVqKRw1DILSOPB4r75QS6rhq+3XlUX47RqBxv6LUE6FRQhdv7b4SeRe5wL5H0J 1ZaxKl/Te2IOMN2/p0x+yw48yjndeqLhKSUlLaLcI0dpfxC3of99aWYDy0UaCvLPihr9 cMxtcmIECUlgohWB8tRUj11PDL0CVg5hIP7yWDOOZOa0j7cveCTsQhC1miOOTzX+f7U6 Vl+Q== X-Gm-Message-State: APjAAAXwxjqrlucvPhh/BTpSt0kxtR8omO7qlJcOEzF/9C25+6c+Iizk cX/NwNbn7iSL4QYcv7F3+EFC X-Google-Smtp-Source: APXvYqzri+RPf7CCtnxv49n31upLsdQDlj8NjDo+Wu0PwsUab1rbvJpgiT08in0GlnX1Ob0xc9v5Dg== X-Received: by 2002:a0d:e290:: with SMTP id l138mr10318750ywe.275.1552831248206; Sun, 17 Mar 2019 07:00:48 -0700 (PDT) Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net. [99.10.92.30]) by smtp.gmail.com with ESMTPSA id l143sm2743905ywc.50.2019.03.17.07.00.44 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 07:00:45 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: jsonpath To: Alexander Korotkov , Tom Lane Cc: Jeff Janes , Nikita Glukhov , Tomas Vondra , Andres Freund , Oleg Bartunov , Michael Paquier , Stas Kelvich , PostgreSQL-development , Thomas Munro , David Steele , Robert Haas , Pavel Stehule References: <20190130022826.of7w6xv5lbvzqxfp@alap3.anarazel.de> <957ee2ff-f9a6-0ba1-13e2-9c4d320f63ac@2ndquadrant.com> <67128b8b-2d80-9e51-20a8-9ac8e0e2243e@2ndquadrant.com> <32541.1552759144@sss.pgh.pa.us> <3448.1552759918@sss.pgh.pa.us> Openpgp: preference=signencrypt Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNL0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+wsCY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUJDyV6hBYhBOQ+WEYd/Hy/RGkV pZn6f8tZ/DuBBQJcH/EVAhkBAAoJEJn6f8tZ/DuB7BEH/iDWZEbVft2m2MT6SPjARzTupt/l xLLZ/Cl6n2US2hov5+fBbnR5xvECk/YCOfG9ICvKNlpFjceqNLRKStd8cmnd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11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/17/19 4:03 AM, Alexander Korotkov wrote: > On Sat, Mar 16, 2019 at 9:12 PM Tom Lane wrote: >> I wrote: >>> Good point. I also see jsonpath_gram.h left behind after maintainer-clean: >> Oh, and of potentially more significance: after maintainer-clean and >> re-configure, make fails with >> >> In file included from jsonpath_gram.y:24: >> ../../../../src/include/utils/jsonpath_scanner.h:25:33: error: utils/jsonpath_gram.h: No such file or directory >> >> I first thought this was a problem with insufficient dependencies >> allowing parallel make to do things in the wrong order, but the problem >> repeats even without any parallelism. It looks like the dependencies >> have been constructed in such a way that if the symlink at >> src/include/utils/jsonpath_gram.h exists but the underlying file >> does not, nothing will make the underlying file. This is pretty broken; >> aside from this outright failure, it also suggests that nothing will >> update that file if it exists but is out of date relative to its >> sources. >> >> Please make sure that the make rules associated with these files look >> exactly like the previously-debugged rules for existing bison/flex >> output files. There are generally good reasons for every last bit >> of weirdness in those. > I've pushed a fix. I hope I didn't forget anything. > > BTW, it appears that windows build scripts also needs some fixup. I'm > not very familiar with that. I would be glad if somebody review the > attached patch. Why are we installing the jsonpath_gram.h file? It's not going to be used by anything else, is it? TBH, I'm not sure I see why we're installing the scanner.h file either. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services