| От | Tom Lane |
|---|---|
| Тема | Re: pg_get_viewdefs() indentation considered harmful |
| Дата | |
| Msg-id | 24649.1398880077@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg_get_viewdefs() indentation considered harmful (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_get_viewdefs() indentation considered harmful
Re: pg_get_viewdefs() indentation considered harmful |
| Список | pgsql-hackers |
I wrote:
> I'm still dubious about halving the step distance, because there are
> assorted places that adjust the indentation of specific keywords by
> distances that aren't a multiple of 2 (look for odd last arguments to
> appendContextKeyword). I'm not sure how that will look after we make such
> a change. Possibly it would work to only apply the scale factor to
> context->indentLevel, and not the indentPlus number?
I pushed a patch that does it that way, and also patches for the other
items discussed in this thread.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера