Re: [BUG] pg_stat_statements and extended query protocol

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: [BUG] pg_stat_statements and extended query protocol
Дата
Msg-id
ZBwaEbdpVYJPXjT5@paquier.xyz
Ответ на
Список
Дерево обсуждения
[BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol David Zhang <david.zhang@highgo.ca>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol David Zhang <david.zhang@highgo.ca>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: [BUG] pg_stat_statements and extended query protocol Yugo NAGATA <nagata@sraoss.co.jp>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Tom Lane <tgl@sss.pgh.pa.us>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Tom Lane <tgl@sss.pgh.pa.us>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Tom Lane <tgl@sss.pgh.pa.us>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol Tom Lane <tgl@sss.pgh.pa.us>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol Andres Freund <andres@anarazel.de>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
Re: [BUG] pg_stat_statements and extended query protocol "Imseih (AWS), Sami" <simseih@amazon.com>
Re: [BUG] pg_stat_statements and extended query protocol Michael Paquier <michael@paquier.xyz>
On Thu, Mar 23, 2023 at 09:33:16AM +0100, Drouvot, Bertrand wrote:
> Thanks! LGTM and also do confirm that, with the patch, the JDBC test
> does show the correct results.

How does JDBC test that?  Does it have a dependency on
pg_stat_statements?
> 
> That said, not having a test (for the reasons you explained
> up-thread) associated with the patch worry me a bit.

Same impression here.

> But, I'm tempted to say that adding new tests could be addressed
> separately though (as this patch looks pretty straightforward).

Even small patches can have gotchas.  I think that this should have
tests in-core rather than just depend on JDBC and hope for the best.
Even if \bind does not allow that, we could use an approach similar to
libpq_pipeline, for example, depending on pg_stat_statements for the
validation with a test module in src/test/modules/?
--
Michael
В списке pgsql-hackers по дате отправления
От: Daniel Gustafsson
Дата:
FAQ