Re: regression test for extended query protocol

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: regression test for extended query protocol
Дата
Msg-id CADK3HH+MUDmB1xJWk4sDr4omrJe_aT_OuQty6Ve1hLfpRsbv-g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: regression test for extended query protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: regression test for extended query protocol  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers

On 3 August 2016 at 10:53, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Tatsuo Ishii <ishii@postgresql.org> writes:
>>> In my understanding, we don't have any regression test for protocol
>>> level prepared query (we do have SQL level prepared query tests,
>>> though). Shouldn't we add those tests to the regression test suites?

>> I thought that ECPG was covering a portion of that. Right?

> In my understanding, ECPG calls libpq, thus the test cases are limited
> to the cases which are only possible with libpq (or it may be even
> limited to the cases where ECPG deal with.)

I do not think it's very practical for the core tests to try to cover
any behavior that's not reachable via libpq.  Even testing stuff that's
not reached through ecpg would require a whole slew of new infrastructure
with no use except testing.

I think realistically a better approach to this would be to get some
buildfarm members running the JDBC regression tests (I assume there
are some ...)

                        regards, tom lane

We currently run tests every time a PR is created on github, but I don't think there are any animals running the JDBC test suite 

We can add tests, what exactly do we want to test. Then setting up an animal to run the tests would be fairly straight forward.

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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: PostgreSQL 10 kick-off
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Implementing full UTF-8 support (aka supporting 0x00)