|
From: Merlin M. <mmo...@gm...> - 2005-08-19 18:56:33
|
Hello, It may interest you to know that I have successfully integrated PostgreSQL with AcuCorp AcuCobol without using embedded sql. I did this by creating a wrapper for libpq (the C interface library for PostgreSQL) that generates queries from COBOL ISAM file i/o statements. I would like to open source the project but cannot because AcuCorp will not publish key headers necceary to link the libpq library to PostgreSQL as a file system. The performance of the PostgreSQL ISAM bridge (which I call PostISAM) is excellent and competitive with the built in file system. It may be possible to make a similar effort with TinyCOBOL. This would take a fair amount of work to remove the AcuCorp specific parts and to make everything compile within gcc. Do you guys think there would be any interest in this. Some of the features of PostISAM: * full support for row-level locks without using locktables. * automatic copybook generation from tables and views. * client side logging faclities (file trace). * support for many (but not all) cobol datatypes * full support for all file verbs including all combinations of start and read nex/previous Merlin |