database read/write from applications code Request for advice

Поиск
Список
Период
Сортировка
От terr@terralogic.net
Тема database read/write from applications code Request for advice
Дата
Msg-id 20040505171440.G22266@saturn.terralogic.net
обсуждение исходный текст
Список pgsql-hackers
I am wondering if there is a simple way to implement a read() blah and write() blah function to a database.

The application I'm looking at is very simple and this is all that is required.  In the past I used a cursor - did the
select,then retrieved the records one at a time.
 

Any suggestions?  I would prefer to not re-map each feild with each call and if I use the equivalent of pro*c it
generatesover 1000 parameters into the call - which is crasy.
 

A function that binds the variables from the calling program would be acceptable.  For instance we might have
pgbind(&myCfield,fieldType, sizeof(myCfield) ...) or something along this line.
 

Thanx.



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Multiple Xids in PGPROC?
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup