From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,23a9e84796d141c5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-29 13:04:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!feed.cgocable.net!read1.cgocable.net.POSTED!53ab2750!not-for-mail Message-ID: <3D975CD5.1050802@cogeco.ca> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: APQ: undefined PQescapeString Work-Around for older PostgreSQL releases Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 29 Sep 2002 16:04:37 -0400 NNTP-Posting-Host: 24.150.168.167 X-Complaints-To: abuse@cogeco.ca X-Trace: read1.cgocable.net 1033330080 24.150.168.167 (Sun, 29 Sep 2002 16:08:00 EDT) NNTP-Posting-Date: Sun, 29 Sep 2002 16:08:00 EDT Organization: Cogeco Cable Xref: archiver1.google.com comp.lang.ada:29420 Date: 2002-09-29T16:04:37-04:00 List-Id: For some of you that are using older releases of PostgreSQL prior to 7.2.1 and wanting to use APQ, a work-around has been posted to the website that leaves your PostgreSQL software unchanged. The problem is fixed by using the extracted new C source code for PostgreSQL's PQescapeString function, and adding it to your built libapq.a library (the source for this C module is also provided for your convenience). This solves the APQ linking problem while leaving your existing PostgreSQL software unaltered. It is unknown how far back in PostgreSQL releases this works, but it should work for any relatively recent vintage. The work-around is provided at: http://home.cogeco.ca/~ve3wwg/pqesc.html APQ is a thick binding to the PostgreSQL database client library libpq, for Ada95 programs. APQ supports FreeBSD/Linux/UNIX and win32 client access to PostgreSQL databases. The APQ binding software page is at: http://home.cogeco.ca/~ve3wwg/software.html -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg