cbl2pg is a library to connect Cobol programs to PostgreSQL databases. It currently works with TinyCobol and AcuCOBOL, but should work with all the Cobol compilers that can call a dynamic library. The library converts all datatypes from libpg to Cobol datatypes.