Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c

Поиск
Список
Период
Сортировка
От Andreas Seltenreich
Тема Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Дата
Msg-id 87twsr2gf0.fsf@ex.ansel.ydns.eu
обсуждение исходный текст
Ответ на Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Failing assertions in indxpath.c, placeholder.c and brin_minmax.c