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 B928CD1BA6D for ; Tue, 16 Dec 2003 02:13:09 +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 54469-05 for ; Mon, 15 Dec 2003 22:12:50 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 2533DD1B4DF for ; Mon, 15 Dec 2003 22:12:40 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hBG2CgY27524; Mon, 15 Dec 2003 21:12:42 -0500 (EST) From: Bruce Momjian Message-Id: <200312160212.hBG2CgY27524@candle.pha.pa.us> Subject: Re: Possible bug in ECPGlib thread-safety (Postgres In-Reply-To: <200312161311.08118.philip@utiba.com> To: Philip Yarra Date: Mon, 15 Dec 2003 21:12:42 -0500 (EST) Cc: Demetres Pantermalis , pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/43 X-Sequence-Number: 4652 Philip Yarra wrote: > 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? > ECPG_FLAGS = -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 > -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 uncommon > - Sybase's cpre is unbelievably verbose unless told otherwise. We just put > the "--shut-up" flags in the Makefile. Point is, we read the manual to find > out what the flags meant. That has never been our style, and I don't think we want to start now. -- 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