X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 09671D1C50F for ; Wed, 23 Jul 2003 12:17:03 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 19845-08 for ; Wed, 23 Jul 2003 09:16:24 -0300 (ADT) Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by svr1.postgresql.org (Postfix) with ESMTP id CC615D1C4DA for ; Wed, 23 Jul 2003 09:17:00 -0300 (ADT) Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) (authenticated bits=0) by lerami.lerctr.org (8.12.9/8.12.9/20030515) with ESMTP id h6NCGwn7003864; Wed, 23 Jul 2003 07:16:59 -0500 (CDT) Date: Wed, 23 Jul 2003 07:16:58 -0500 From: Larry Rosenman To: Peter Eisentraut Cc: Tom Lane , PostgreSQL Development , jkj@sco.com Subject: Re: Message-ID: <7360000.1058962618@lerlaptop.lerctr.org> In-Reply-To: References: <6953.1058886693@sss.pgh.pa.us> <54730000.1058887140@lerlaptop-red.iadfw.net> X-Mailer: Mulberry/3.1.0b4 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/652 X-Sequence-Number: 41257 --On Wednesday, July 23, 2003 12:12:45 +0200 Peter Eisentraut wrote: > Larry Rosenman writes: > >> Please see my post to -hackers last week about -K[p]thread on UnixWare. >> There are some issues there for us. > > The take-home message from those posts is that if you use non-thread-safe > code in threaded applications, bad things will happen. We knew that. ;-) > As far as mixing code compiled one way with code compiled the other way, > there is no problem, at least not more than on any other platform. if we are heading for thread-safe libpq, I'd suggest, at least on UnixWare, compiling libpq with -D_REENTRANT, because of the macro vs. function issue, at least for errno, and possibly others. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749