Re: [PATCHES] COPY view

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCHES] COPY view
Дата
Msg-id 20060823173529.GV1963@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCHES] COPY view  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
Ответы Re: [PATCHES] COPY view
Список pgsql-hackers
Zoltan Boszormenyi wrote:

> 1. to minimize the already huge code impact on the relation case.
> 2. the checks done for the SELECT case is not exactly the
>     same as for the realation case.

So put them in CopyToRelation.  But the ones that apply to both, leave
in CopyTo.

> 3. the relation case is managed by passing around
>    a Relation pointer, e.g. CopyGetAttnums. This simply
>    not appropriate for the SELECT case.

Which is why you should leave the relation case alone and only add the
different case.  The relation case is already known to be good.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Win32 max connections bug (causing crashes)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] COPY view