| От | Dimitri Fontaine |
|---|---|
| Тема | Re: pg_execute_from_file review |
| Дата | |
| Msg-id | 87sjykw2zx.fsf@hi-media-techno.com обсуждение |
| Ответ на | Re: pg_execute_from_file review (Andrew Dunstan <andrew@dunslane.net>) |
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes: > I'm not sure why you need either "from". It just seems like a noise > word. Maybe we could use pg_execute_query_file() and > pg_execute_query_string(), which would be fairly clear and nicely > symmetrical. I'd go with that but need to tell: only pg_execute_query_file() is to be exposed at the SQL level, the other one is just a backend facility to share code between the variants with and without placeholders. If you wonder why have two variants, it's because you can't have default values (pg_node_tree) in pg_proc.h, and followingTom's advices. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера