| От | Peter Eisentraut |
|---|---|
| Тема | Re: how to run encoding-dependent tests by default |
| Дата | |
| Msg-id | 6496a91c-499a-b0de-a601-d66bcf5e010d@2ndquadrant.com обсуждение |
| Ответ на | Re: how to run encoding-dependent tests by default (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: how to run encoding-dependent tests by default
|
| Список | pgsql-hackers |
On 2019-07-28 20:12, Tom Lane wrote: > So I wish we could get rid of the Makefile changes, have the test > scripts be completely responsible for whether to run themselves or > not, and put them into the schedule files normally. > > It's pretty obvious how we might do this for collate.icu.utf8: > make it look to see if there are any ICU-supplied collations in > pg_collation. > > I'm less clear on a reasonable way to detect a glibc platform > from SQL. The best I can think of is to see if the string > "linux" appears in the output of version(), and that's probably > none too robust. Can we do anything based on the content of > pg_collation? Probably not :-(. > > Still, even if you only fixed collate.icu.utf8 this way, that > would be a step forward since it would solve the Windows aspect. Good points. Updated patch attach. (The two tests create the same schema name, so they cannot be run in parallel. I opted against changing that here, since it would blow up the patch and increase the diff between the two tests.) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера