X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6D65BD1C4D0 for ; Tue, 12 Aug 2003 15:59:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 80439-02 for ; Tue, 12 Aug 2003 12:57:45 -0300 (ADT) Received: from ns3063.ovh.net (ns3063.ovh.net [213.186.35.192]) by svr1.postgresql.org (Postfix) with SMTP id 0CCB7D1C4BA for ; Tue, 12 Aug 2003 12:59:08 -0300 (ADT) Received: (qmail 4749 invoked from network); 12 Aug 2003 15:59:05 -0000 Received: from areims-105-2-1-37.w217-128.abo.wanadoo.fr (HELO SESAMEVEDIOVIS) (217.128.81.37) by 0 with SMTP; 12 Aug 2003 15:59:05 -0000 Message-ID: <002d01c360ea$af623ad0$010aa8c0@SESAMEVEDIOVIS> From: "sla-net" To: References: <20030812153118.6D87072E999@svr5.postgresql.org> Subject: concatenation = = transaction ????? Date: Tue, 12 Aug 2003 17:59:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=REFERENCES X-Spam-Level: X-Archive-Number: 200308/39 X-Sequence-Number: 2216 Hi everybody It's my first post here, so be indulgent ;) Just to confirm : if i do $sql1='insert into "Enfant" ("NomEnfant","PrenomEnfant") VALUES ('.$NomEnfant.','.$PrenomEnfant.') $sql2='insert into "IndividuEnfant" ("IdIndividu","IdEnfant") VALUES ('.$IdIndividu.',currval(\'"Enfant_Seq"\')); $sql=$sql1.$sql2; $Res=pg_query($sql); so 2 query concatenation a a only one, send to postgress database : is it EXACTLY the same thing than a classic transaction with a begin and a commit or rollback ? Tcks, it's just i dont want to write everything again in 6 months..... S.L. PS : why limitation to 8 patrameters in stored procedures ??????