pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philip Yarra <philip@utiba.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Demetres Pantermalis <dpant@intracom.gr>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Possible bug in ECPGlib thread-safety (Postgres
Date: Tue, 16 Dec 2003 13:11:08 +1100
Message-ID: <200312161311.08118.philip@utiba.com> (raw)
In-Reply-To: <200312160158.hBG1wf624835@candle.pha.pa.us>
References: <200312160158.hBG1wf624835@candle.pha.pa.us>

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.





view thread (15+ messages)  latest in thread

Message-ID: <200312161311.08118.philip@utiba.com>
Permalink:  ../200312161311.08118.philip@utiba.com/
Also on:    postgresql.org/message-id/200312161311.08118.philip@utiba.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: philip@utiba.com, pgman@candle.pha.pa.us, dpant@intracom.gr
  Subject: Re: Possible bug in ECPGlib thread-safety (Postgres
  In-Reply-To: <200312161311.08118.philip@utiba.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox