| От | Michael Paquier |
|---|---|
| Тема | Re: pg_regress cleans up tablespace twice. |
| Дата | |
| Msg-id | 20200220052322.GI2288@paquier.xyz обсуждение |
| Ответ на | Re: pg_regress cleans up tablespace twice. (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_regress cleans up tablespace twice.
|
| Список | pgsql-hackers |
On Wed, Feb 19, 2020 at 04:06:33PM -0500, Tom Lane wrote: > I think the existing coding dates from before we had a Perl driver for > this, or else we had it but there were other less-functional ways to > replace "make check" on Windows. +1 for taking the code out of > pg_regress.c --- but I'm not in a position to say whether the other > part of your patch is sufficient. Removing this code from pg_regress.c makes also sense to me. Now, the patch breaks "vcregress installcheck" as this is missing to patch installcheck_internal() for the tablespace path creation. I would also recommend using a full path for the directory location to avoid any potential issues if this code is refactored or moved around, the patch now relying on the current path used. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера