Re: Possible bug in ECPGlib thread-safety (Postgres

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: Demetres Pantermalis <dpant(at)intracom(dot)gr>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Possible bug in ECPGlib thread-safety (Postgres
Date: 2003-12-16 02:12:42
Message-ID: 200312160212.hBG2CgY27524@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sudarshan Marthala 2003-12-18 08:18:08 Getting data
Previous Message Philip Yarra 2003-12-16 02:11:08 Re: Possible bug in ECPGlib thread-safety (Postgres