Using statement parameters with Copy API?

Поиск
Список
Период
Сортировка
От Jim Garrison
Тема Using statement parameters with Copy API?
Дата
Msg-id 0C723FEB5B4E5642B25B451BA57E27303EE01F7C@S1P5DAG3C.EXCHPROD.USA.NET
обсуждение исходный текст
Ответы Re: Using statement parameters with Copy API?  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc

I want to use the copy API to execute a parameterized query, as in

 

COPY (SELECT * FROM TABLE WHERE KEY=?) TO STDOUT FORMAT BINARY

 

As far as I can tell it is not currently possible to prepare this statement and pass it to the copy API.

 

Is there a way to accomplish this other than just building the SQL with values already substituted?

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

Предыдущее
От: Jim Garrison
Дата:
Сообщение: Re: CopyManager API?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: CopyManager API?