PQputline in BINARY mode?

Поиск
Список
Период
Сортировка
От pacquet@newsguy.com
Тема PQputline in BINARY mode?
Дата
Msg-id 200208132141.OAA71833@newsguy.com
обсуждение исходный текст
Ответы Re: PQputline in BINARY mode?
Список pgsql-interfaces
OK, I've tested both a

COPY BINARY <table> FROM <file>

which was very fast, and now I've also done:


PQputline(conn, <test ascii string>)


the question is, can I combine both techniques, and use a programmatic
interface to copy binary information?  We have an data collection application
which needs to insert a huge amount of (binary) information very quickly, so
I'm interested in squeezing out every last CPU cycle.  (any other tips you
have will also be appreciated).  Thanks



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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ECGP - varchar in struct?
Следующее
От: Wei Weng
Дата:
Сообщение: concurrent connections is worse than serialization?