Received: from mail.noos.fr (verlaine.noos.net [212.198.2.73]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5LDMLa67816 for ; Thu, 21 Jun 2001 09:22:21 -0400 (EDT) (envelope-from lpatureau@idfr.net) Received: (qmail 2750513 invoked by uid 0); 21 Jun 2001 13:22:14 -0000 Received: from unknown (HELO idfr2.idfr.net) ([195.132.29.171]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with SMTP for ; 21 Jun 2001 13:22:14 -0000 Message-Id: <5.0.2.1.0.20010621152019.00ac0950@172.16.48.1> X-Sender: lpatureau@172.16.48.1 X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 21 Jun 2001 15:24:17 +0200 To: "pgsql-php" From: Laurent Patureau Subject: Re: Do an Update without waiting for the result In-Reply-To: <005001c0fa53$2e224000$330a0a0a@rutgersinsurance.com> References: <5.0.2.1.0.20010621113844.00a87ec0@172.16.48.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200106/49 X-Sequence-Number: 446 At 09:07 21/06/01 -0400, Adam Lang wrote: Hi, I don't care about the result. My script is particular, I need to have the smallest time I can and my update take 0.1s. on 0.12s for my script. LP >Just to clarify what you mean. > >Say you do an insert that takes 20 minutes, you want to be able to do other >stuff while it is running? Or are you just saying you don't care about the >result? > >Adam Lang >Systems Engineer >Rutgers Casualty Insurance Company >http://www.rutgersinsurance.com >----- Original Message ----- >From: "Laurent Patureau" >To: >Sent: Thursday, June 21, 2001 5:42 AM >Subject: [PHP] Do an Update without waiting for the result > > >> Hi, >> >> I'm looking for the "pg_exec", >> >> i want to do a query (update or insert) without waiting for the result >> (true or false) of the query. >> >> Is there anyone know how do it ? >> >> system : postgres on linux RedHat, PHP4 >> >> LP. >> >> >> ---------------------------(end of broadcast)--------------------------- >> TIP 3: if posting/reading through Usenet, please send an appropriate >> subscribe-nomail command to majordomo@postgresql.org so that your >> message can get through to the mailing list cleanly > > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > >http://www.postgresql.org/search.mpl