X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 84703D1B4B3 for ; Tue, 16 Dec 2003 02:11:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 56974-01 for ; Mon, 15 Dec 2003 22:11:11 -0400 (AST) Received: from cpc-gw2.cpc.net.au (unknown [210.9.248.93]) by svr1.postgresql.org (Postfix) with ESMTP id BCBA5D1B465 for ; Mon, 15 Dec 2003 22:11:00 -0400 (AST) Received: from utiba.com (ser1.cpc.net.au [192.168.0.19]) by Utiba Mail Gateway (2.2.2) with ESMTP id hBG2B9810779; Tue, 16 Dec 2003 13:11:09 +1100 Received: from pc37.cpc.net.au (pc37.cpc.net.au [192.168.0.37]) by Utiba Mail Thingy (0.0.2) with ESMTP id hBG2B9602798; Tue, 16 Dec 2003 13:11:09 +1100 Content-Type: text/plain; charset="iso-8859-1" From: Philip Yarra Organization: Utiba Pty Ltd To: Bruce Momjian Subject: Re: Possible bug in ECPGlib thread-safety (Postgres Date: Tue, 16 Dec 2003 13:11:08 +1100 User-Agent: KMail/1.4.3 Cc: Demetres Pantermalis , pgsql-interfaces@postgresql.org References: <200312160158.hBG1wf624835@candle.pha.pa.us> In-Reply-To: <200312160158.hBG1wf624835@candle.pha.pa.us> X-contributes-to-entropy: true MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312161311.08118.philip@utiba.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/42 X-Sequence-Number: 4651 On Tue, 16 Dec 2003 12:58 pm, Bruce Momjian wrote: > I don't think we are going to accept annoying our users on every > compile. Wouldn't people generally be using Makefiles or similar?=20 ECPG_FLAGS =3D -t -f would do the trick. i can't imagine many people would seriously be typing "ecpg -t test.pgc && cc -I/usr/local/pgsql/include -L/usr/local/pgsql/lib= =20 -pthread -lecpg -o test test.c" and baulk at an extra -f flag! Having to specify a couple of flags for the desired behaviour is not uncomm= on=20 - Sybase's cpre is unbelievably verbose unless told otherwise. We just put= =20 the "--shut-up" flags in the Makefile. Point is, we read the manual to find= =20 out what the flags meant. Philip.