X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1C9C0D1B4F9 for ; Thu, 13 Nov 2003 04:16:43 +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 40261-10 for ; Thu, 13 Nov 2003 00:16:12 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 7A906D1B527 for ; Thu, 13 Nov 2003 00:16:11 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hAD4GAb18085; Wed, 12 Nov 2003 23:16:10 -0500 (EST) From: Bruce Momjian Message-Id: <200311130416.hAD4GAb18085@candle.pha.pa.us> Subject: Re: [GENERAL] Postgres 7.4 : ECPG not Thread-safe In-Reply-To: <3FB20C1C.C69EEEF5@BULL.NET> To: Thierry Missimilly Date: Wed, 12 Nov 2003 23:16:10 -0500 (EST) Cc: PostgreSQL-interfaces 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: 200311/16 X-Sequence-Number: 4574 Thierry Missimilly wrote: > Thank you Bruce. > You've had a good idea to send me your little program. > I well understand the concept of "Named connection for each thread", but could you tell me where i can find a doc where the use of "EXEC SQL AT > ..." is describe ? > > May i suggest to put some lines about that in the "Programmer's Guide" ?4 ECPG - Embedded SQL in C, as I have based my development on this doc > and it could be useful for other user to know how to code in Multi-thread context. Yes, our docs are petty sparse on ecpg. It is basically the same as SQL-standard embedded C, so any docs on that would be the same for ecpg. Interfaces list, where is there detailed ecpg documentaiton, like documentation on the AT clause? -- 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