COPY FROM view

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема COPY FROM view
Дата
Msg-id 20060528175335.GA16650@surnet.cl
обсуждение исходный текст
Ответы Re: COPY FROM view
Re: COPY FROM view
Список pgsql-hackers
Hi,

I've been having the COPY FROM patch that was posted on pgsql-patches
some time ago (I think from Hannu Krossing), sitting on my machine, with
the intention to commit it for 8.2.  However there's something I'm not
very sure about -- the patch creates an execution plan by passing a
literal "SELECT * FROM view" to pg_parse_query, pg_analyze_and_rewrite,
and finally planner().

I'm sure we can make this work appropiately, patching over the quoting
issues that the patch doesn't deal with, but I'm unsure if this is an
acceptable approach.  (Actually I think it isn't.)  But what is an
acceptable way to do it?

-- 
Alvaro Herrera                                http://www.PlanetPostgreSQL.org
"No necesitamos banderasNo reconocemos fronteras"                  (Jorge González)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Error in recent pg_dump change (coverity)
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: anoncvs still slow