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: PostgreSQL-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [GENERAL] Postgres 7.4 : ECPG not Thread-safe
Date: Thu, 13 Nov 2003 16:08:18 +1100
Message-ID: <200311131608.18106.philip@utiba.com> (raw)
In-Reply-To: <200311130447.hAD4ldZ23273@candle.pha.pa.us>
References: <200311130447.hAD4ldZ23273@candle.pha.pa.us>

On Thu, 13 Nov 2003 03:47 pm, Bruce Momjian wrote:
> Philip Yarra wrote:
> > I'm willing to have a go at updating the doco. Can someone point me to a
> > guide to getting started with the markup we use?
>
> Great, but be warned --- the work is huge.  

Yikes! I just figured updating the manual section would be a good start. I'll 
deal with *huge* later.

> Let me also add
> that it is totally cool!  It doesn't look all that friendly, but once
> you start coding in it, and pass variables in and out of queries, it
> takes on amazing power and has amazing clarity.  

Personally I don't really like embedded SQL, and would prefer libpq, except 
for one beautiful feature: it's quite portable (Informix->Sybase->PostgreSQL 
with minimal re-coding). 

> Anyway, I think you can grab any ANSI SQL enbedded document and get
> ideas.  You can look at vendors docs because those are going to be very
> similar, and you can look at the ANSI standard for ideas.  

I have some of the vendors' ones to look at for ideas.

Is the ANSI doc (freely) available? 

> that really shows the power of ecpg --- right now, our docs don't do it
> justice.

Agreed. I'll see what I can do. I figure just adding "always use 'AT 
connection_name' in a threaded application or suffer the consequences" would 
be a good start. 

Regards, Philip.





view thread (8+ messages)  latest in thread

Message-ID: <200311131608.18106.philip@utiba.com>
Permalink:  ../200311131608.18106.philip@utiba.com/
Also on:    postgresql.org/message-id/200311131608.18106.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
  Subject: Re: [GENERAL] Postgres 7.4 : ECPG not Thread-safe
  In-Reply-To: <200311131608.18106.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