Re: pg_buffercache: add sql test

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_buffercache: add sql test
Дата
Msg-id 628172.1659209978@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_buffercache: add sql test  (Dong Wook Lee <sh95119@gmail.com>)
Ответы Re: pg_buffercache: add sql test  (Julien Rouhaud <rjuju123@gmail.com>)
Re: pg_buffercache: add sql test  (Dong Wook Lee <sh95119@gmail.com>)
Список pgsql-hackers
Dong Wook Lee <sh95119@gmail.com> writes:
> I just wrote a test code for the `pg_buffercache` extension which
> doesn't not have test code.

Pushed with minor adjustments.  Some notes:

* A .gitignore file is needed so that "git status" won't whine after
running the test.  This tends to be pretty much boilerplate; I copied
it from another contrib directory.

* Pay attention to "git diff --check" formatting warnings.  In this
case it bleated about an extra blank line at the end of the .sql file.

* I didn't care for the direct use of pg_show_all_settings().  The
official API there is the pg_settings view, and there's no need for
this test to get friendly with the view's internals.

Thanks for the patch!

            regards, tom lane



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

Предыдущее
От: Matheus Alcantara
Дата:
Сообщение: Re: Trying to add more tests to gistbuild.c
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Trying to add more tests to gistbuild.c