|
From: | David Essex |
Subject: | Re: [open-cobol-list] Postgres |
Date: | Mon, 10 Aug 2009 01:42:18 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618 |
emre wrote:
Now I have my application ported/running under OpenCobol... I'd like to use Postgres and noticed these two points in the FAQ # Rumours of a potential Postgres layer have also been heard.# *AND* as a /thing to watch for/, one of the good people of the OpenCOBOL communinity has written a layer that converts READ and WRITE verbage to SQL calls /at run time/. More on this as it progresses.Are there any updates on these points?
AFAIK, there is no COBOL SQL pre-processor for Postgres. There is a C SQL pre-processor which is included with the Postgres distribution. So you have 3 choices. Call the Postgres API directly form COBOL programs. Call the Postgres API in-directly form some C wrapper functions, which are then called from COBOL programs. Call some C wrapper functions, which have embedded C SQL statements. Cheers
[Prev in Thread] | Current Thread | [Next in Thread] |