On Wed, 12 Jun 2024 at 01:48, Noah Misch <n...@leadboat.com> wrote: > If we're going to test in a non-Perl language, I'd pick C over Python. > <snip> > We'd need a library like today's Perl > PostgreSQL::Test to make C-language tests nice, but the same would apply to > any new language.
P.P.S. We already write tests in C, we use it for testing libpq[1]. I'd personally definitely welcome a C library to make those tests nicer to write, because I've written a fair bit of those in the past and currently it's not very fun to do. [1]: https://github.com/postgres/postgres/blob/master/src/test/modules/libpq_pipeline/libpq_pipeline.c