Re: insert select fails inside of function
От
Tom Lane
Тема
Re: insert select fails inside of function
Дата
Msg-id
19404.1340399382@sss.pgh.pa.us
Ответ на
Re: insert select fails inside of function (Benedict Holland)
Список
Дерево обсуждения
insert select fails inside of function Benedict Holland <benedict.m.holland@gmail.com>
Re: insert select fails inside of function Tom Lane <tgl@sss.pgh.pa.us>
Re: insert select fails inside of function Benedict Holland <benedict.m.holland@gmail.com>
Re: insert select fails inside of function Tom Lane <tgl@sss.pgh.pa.us>
Benedict Holland writes: > Thanks for the response. The PG version is 9.0. I can't really give you the > text of the function unfortunately. I know though that there isn't any > aliasing issues occurring. After commenting out all but one line, I have it > down to, not a insert select but a > create temp table t1(id, ...) as > select (a few columns with names that don't match) > where etc. Hm. A CREATE TABLE AS SELECT case works for me in 9.0.8. Perhaps you could sanitize what you've got into a small self-contained test case? regards, tom lane
В списке pgsql-general по дате отправления
От: Jeff Davis
Дата: