Re: \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless)
В списке pgsql-hackers по дате отправления:
| От | Fabien COELHO |
|---|---|
| Тема | Re: \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless) |
| Дата | |
| Msg-id | alpine.DEB.2.20.1703250719430.8361@lancre обсуждение исходный текст |
| Ответ на | Re: \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless) (Corey Huinker <corey.huinker@gmail.com>) |
| Ответы |
Re: \if, \elseif, \else, \endif (was Re: PSQL commands:\quit_if, \quit_unless)
|
| Список | pgsql-hackers |
> As for a function for digested ignored slash options, it seems like I can > disregard the true/false value of the "semicolon" parameter. Is that > correct? Dunno. >> I do not see that as a significant issue, especially compared to the >> benefit of having the automaton transition management in a single place. > > I'm still struggling to see how this would add any clarity to the code > beyond what I can achieve by clustering the > exec_command_(if/elif/else/endif) near one another. Hmmm... it is more cleanly encapsulated if in just one function? -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера