| От | Andrew Dunstan |
|---|---|
| Тема | Re: Proposal: USING clause for DO statement |
| Дата | |
| Msg-id | 4B084B17.10107@dunslane.net обсуждение исходный текст |
| Ответ на | Re: Proposal: USING clause for DO statement (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > In any case I don't think that "getting stuff from > psql variables into a DO script" is the way to define the problem. > It's "getting stuff from shell variables into a DO script" that is the > real-world problem. Indeed. But setting psql variables from the command line is easy. We have a nifty switch for it. So we could reduce one problem to the other. > Maybe psql is the wrong tool altogether. > > > Yeah. The workaround is to use some sort of wrapper, in shell script, perl or whatever. Maybe we should just let sleeping dogs lie. I think you and I are in agreement though that an SQL level mechanism is not the way to go, at least for now. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера