Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJM37-0001Pn-KU for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jul 2015 13:33:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZJM36-0001V5-RP for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jul 2015 13:33:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZJM35-0001Uw-5U for pgsql-hackers@postgresql.org; Sun, 26 Jul 2015 13:33:03 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZJM2v-0007X0-M4 for pgsql-hackers@postgresql.org; Sun, 26 Jul 2015 13:33:01 +0000 Received: from ex ([109.41.158.143]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0Lm8VZ-1YkID51vZh-00ZjBT; Sun, 26 Jul 2015 15:32:50 +0200 From: Andreas Seltenreich To: Michael Paquier Cc: PostgreSQL mailing lists Subject: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c In-Reply-To: (Michael Paquier's message of "Sun, 26 Jul 2015 22:12:21 +0900") References: <871tfv3wor.fsf@ex.ansel.ydns.eu> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) Message-ID: <87twsr2gf0.fsf@ex.ansel.ydns.eu> Date: Sun, 26 Jul 2015 15:32:19 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:hdfHuHg4IgBUHyuybMytZECumydbaTdj/dd9sqMp80RipA+ijnf WV1eXgptIy8wlTJz78Q9v91Ph8AYHHSlGEofafmeN3DwDYwb+DmgM/KiN+Ei5spMP7Slev0 5cJ88M4USupHABLsUGQD2B0j/AX0LjloTtb98sb0n7BvYgAlIAYAeuA+rh2sxFZ+fHILSor CrYXrStWF3RMnxjBqvKNg== X-UI-Out-Filterresults: notjunk:1;V01:K0:KF9r3sFzKlk=:YdbkfwvuHl5cGB4vGlbnFN F/W8mMo4eIdKVS3YyILvZ9ru08eZj5dt2g0LVoPMH33VToMMyIOHcqLujk8GPiy4uFgu5m2hy sqvkmvkGqt4eRIJWSwdEMBg7VK9xNt0s4MqY9qFij9Nxbhv0bkan691apU8SWzhlSX5kOwdwl 6ndAs6f6ZVF6qsV+/Aj0W5RLKpcw9zQOJJx3/8podzkNJrVkjz8CorYaxEIkuJZAjnsa81hZZ j4LU6eBZi+WZ7w1JwHeKvr6M17OKkL+SdVr2d9EgcPxMGrppjr4M4OS8uCOrai3sc3M6GDA2o bVEuMEkNzscZ3/yRyPPnljj1Bi4oFM/3AXbs3v5FYhgxQZgCF7pKI0aSrMfmbu/fElkcGvyK0 mSbqvS7g+vprRHekJpZbZ7nqkEWS+BJW5UQMmGornIkgGLbrU2HtT5yMVn4bUnEmoiAjSuep+ S3ezfsA3dsfyraejH06zwXMBe41qXKAfmztk4+T52US1VjJOCMOWErpbsEL42F4np0Y0bJVIs m22u4JGtXU07UOw4DxzHNva4nJwjxDCoFGMp/GDgK0WniPjjmbRWAKjB57rEvtbFW7DnSEWjA gCY0dKvXOZUTVFr+ohDA6ezEytnlUiH8eWqoJOCpxZViyHYl70oAALK4tEA7N5jeJlPgv54hT 8xGXEbU7kk6EDVa1j2K+qzrYxu8IC1E8HxFVqTbDLgTJbKQ== X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier writes: >> Footnotes: >> [1] https://github.com/anse1/sqlsmith > > This is really interesting stuff. I think that it would be possible to > extract self-contained test cases from your tool and those queries to > reproduce the failures. It is written that this tools connects to a > database to retrieve the schema, what is it exactly in the case of > those failures? I used the database "regression" that pg_regress leaves behind when you remove the --temp-install from it's default invocation through make check. Sorry about not being explicit about that. So, dropping one of the queries into src/test/regress/sql/smith.sql and invoking make check EXTRA_TESTS=smith was all that was needed to integrate them. I was then able to perform "git bisect run" on this command. Er, plus consing the expected output file. I'm using the regression db a lot when hacking on sqlsmith, as it contains much more nasty things than your average database. regards andreas -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers