| От | Neil Conway |
|---|---|
| Тема | Re: Using EXECUTE in same manner as SELECT |
| Дата | |
| Msg-id | 418C5A29.5040207@samurai.com обсуждение исходный текст |
| Ответ на | Using EXECUTE in same manner as SELECT (Andrew Lazarus <andrew@pillette.com>) |
| Список | pgsql-general |
Andrew Lazarus wrote: > Is there some clear reason why I can't using EXECUTE of a PREPAREd query > as I can a SELECT statement in CREATE TABLE AS, INSERT, FROM clause, > sub-selects, etc.? If not, wouldn't this be a very useful change? You can already do CREATE TABLE AS ... EXECUTE. I agree being able to use EXECUTE in more situations would be a good thing. Patches are welcome. I'm not sure there's a lot of value in adding support for EXECUTE in subqueries, since you would still need to do parsing, rewriting and planning for the rest of the query; also, the fact that the plan for the EXECUTE has already been generated would limit the optimizer's ability to pullup subqueries and so forth. -Neil
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера