Re: R: feature proposal ...

Поиск
Список
Период
Сортировка
От AgentM
Тема Re: R: feature proposal ...
Дата
Msg-id F9376FA8-D704-4CD2-AA1C-E9E2C186B642@themactionfaction.com
обсуждение исходный текст
Ответ на Re: R: feature proposal ...  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: R: feature proposal ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
>
> While I'm all for COPY from views, I think I'd rather have the  
> syntactic
> warts than code warts. ISTM that
>
> CREATE TEMP VIEW some_name AS SELECT * FROM table WHERE ...;
> COPY some_name TO stdout;
>
> is much uglier than
>
> COPY SELECT * FROM table WHERE ... TO stdout;

Or, you could just allow subqueries in COPY to disambiguate the syntax:

COPY (SELECT * FROM table WHERE i=1) TO stdout;



|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
AgentM
agentm@themactionfaction.com
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-



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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Table Partitioning is in 8.1
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Table Partitioning is in 8.1