| От | Justin Pryzby |
|---|---|
| Тема | Re: [PATCH v1] pg_ls_tmpdir to show directories |
| Дата | |
| Msg-id | 20200116003924.GJ26045@telsasoft.com обсуждение исходный текст |
| Ответ на | Re: [PATCH v1] pg_ls_tmpdir to show directories (Fabien COELHO <coelho@cri.ensmp.fr>) |
| Ответы |
Re: [PATCH v1] pg_ls_tmpdir to show directories
|
| Список | pgsql-hackers |
On Wed, Jan 15, 2020 at 11:21:36AM +0100, Fabien COELHO wrote: > I'm trying to think about how to get rid of the strange structure and hacks, > and the arbitrary looking size 2 array. > > Also the recursion is one step, but I'm not sure why, ISTM it could/should > go on always? Because tmpfiles only go one level deep. > Looking at the code, ISTM that relying on a stack/list would be much cleaner > and easier to understand. The code could look like: I'm willing to change the implementation, but only after there's an agreement about the desired behavior (extra column, one level, etc). Justin
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера