Acucobol interface

Поиск
Список
Период
Сортировка
От Roberto Fichera
Тема Acucobol interface
Дата
Msg-id 5.1.0.14.2.20010531174557.02b40c10@mail.tekno-soft.it
обсуждение исходный текст
Ответы Re: Acucobol interface  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi All,

I'm developing (currently in pre-alfa stage) a Acucobol interface for the 
Postgresql.
The Acucobol runtime have a generic FS API interface that handle the work 
with the
record oriented files, defining the open, close, read, write and so on low 
level function I can
extend the runtime to talk with any file and database.

My current work translate each Acucobol FS command in a relative Postgresql 
query and
the returned tuple will be translated in a record oriented view.
After some performance tests I've notice that this path have much overhead 
and because
this I was thinking to redesign the interface.

My first think was to bypass the SQL translation and use the Postgresql low 
level routines.
I need to see the tables as record oriented archive, so I can scan 
sequentially (forward and
backward) each record, lock/unlock it, insert and delete it and start to 
read the records with
a match of a specific key.

Does anyone know where can I start to search/read/learn/study some 
document/code of the
Postgresql low level routines ?

If need some detail, please ask ;-)!

Thanks in advance.


Roberto Fichera.



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

Предыдущее
От: chris.bitmead@health.gov.au
Дата:
Сообщение: Re: Question about inheritance
Следующее
От: "Dale Johnson"
Дата:
Сообщение: REPLACE INTO table a la mySQL