| От | Bossart, Nathan |
|---|---|
| Тема | Re: [PATCH v1] pg_ls_tmpdir to show directories |
| Дата | |
| Msg-id | 3656DFBA-7DFD-4A7F-BF55-BBB943AB0658@amazon.com обсуждение |
| Список | pgsql-hackers |
On 3/3/20, 12:24 PM, "Alvaro Herrera" <alvherre@2ndquadrant.com> wrote: > IMO: is_dir should be there (and subdirs should be listed), but > parent_dir should not appear. Also, the "path" should show the complete > pathname, including containing dirs, starting from whatever the "root" > is for the operation. > > So for the example in the initial email, it would look like > > path isdir > pgsql_tmp11025.0.sharedfileset/ t > pgsql_tmp11025.0.sharedfileset/0.0 f > pgsql_tmp11025.0.sharedfileset/1.0 f > > plus additional columns, same as pg_ls_waldir et al. > > I'd rather not have the code assume that there's a single level of > subdirs, or assuming that an entry in the subdir cannot itself be a dir; > that might end up hiding files for no good reason. +1 Nathan
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера