Re: pgsql: Clean up role created in new subscription test.
От
Daniel Gustafsson
Тема
Re: pgsql: Clean up role created in new subscription test.
Дата
Msg-id
E0EB10CE-9B58-44C0-8CBC-807BC8E5A84A@yesql.se
Ответ на
Re: pgsql: Clean up role created in new subscription test. (Alvaro Herrera)
Список
Дерево обсуждения
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Peter Eisentraut <peter@eisentraut.org>
Re: pgsql: Clean up role created in new subscription test. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. vignesh C <vignesh21@gmail.com>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Peter Eisentraut <peter@eisentraut.org>
Re: pgsql: Clean up role created in new subscription test. Andres Freund <andres@anarazel.de>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Heikki Linnakangas <hlinnaka@iki.fi>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
Re: pgsql: Clean up role created in new subscription test. Daniel Gustafsson <daniel@yesql.se>
> On 8 Nov 2023, at 13:32, Alvaro Herrera wrote: > I suppose you're just thinking of using PQexec() or whatever, run one > query with sufficient ORDER BY, save the result, and at the end of the > test run just run the same query and compare that they are cell-by-cell > identical? This sounds a lot simpler than the patch you posted. I found some spare cycles for this and came up with the attached. The idea was to keep it in-line with how pg_regress already today manipulate and traverse _stringlists for various things. With the addition of the 0001 patch to clean up global objects left in test_pg_dump it passes check-world. -- Daniel Gustafsson
В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата: