X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D7ADE9DCB64 for ; Sun, 5 Feb 2006 22:23:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73841-05 for ; Sun, 5 Feb 2006 22:23:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 584D79DCB4C for ; Sun, 5 Feb 2006 22:23:15 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k162NLQ09958; Sun, 5 Feb 2006 21:23:21 -0500 (EST) From: Bruce Momjian Message-Id: <200602060223.k162NLQ09958@candle.pha.pa.us> Subject: Re: PQprint under Windows In-Reply-To: <43E694B6.4040604@online.de> To: Christoph Zwerschke Date: Sun, 5 Feb 2006 21:23:21 -0500 (EST) CC: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.128 required=5 tests=[AWL=0.128] X-Spam-Score: 0.128 X-Spam-Level: X-Archive-Number: 200602/12 X-Sequence-Number: 5976 Christoph Zwerschke wrote: > I tried to compile PyGreSQL under Windows. > Everything seems to work, except some functions which are using PQprint. > Whenever these functions are called, I get a Windows exception. > > I am using the following versions: > > Windows XP SP2 > Python: 2.4.2 > PostgreSQL 8.1.2 > PyGreSQL 3.8 > > For compilation I used MinGW and Microsoft Visual C++ Toolkit 2003, both > work fine, but both have the same problem mentioned above. > > Can anybody confirm that PQprint is or was ever running under Windows? > The 8.1 docu does not say that it is deprecated or not running under > Windows. Can it be a bug? It should work. What exception are you getting, and what line in the C file is it complaining about? > I also noticed that the HTML code in PQprint is not very clean and > sometimes even wrong, e.g. it has instead of
. Fixed in 8.1.X. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073