Skip site navigation (1) Skip section navigation (2)

Re: Possible bug in ECPGlib thread-safety (Postgres

From: Philip Yarra <philip(at)utiba(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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:11:08
Message-ID: 200312161311.08118.philip@utiba.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
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.

Philip.



In response to

Responses

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2003-12-16 02:12:42
Subject: Re: Possible bug in ECPGlib thread-safety (Postgres
Previous:From: Bruce MomjianDate: 2003-12-16 01:58:41
Subject: Re: Possible bug in ECPGlib thread-safety (Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group