Received: from bush.rutgersinsurance.com (rutgersinsurance.com [38.138.71.194]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5LK1Ha50035 for ; Thu, 21 Jun 2001 16:01:17 -0400 (EDT) (envelope-from aalang@rutgersinsurance.com) Received: from 6014cwpza006 ([10.10.10.51]) by bush.rutgersinsurance.com (8.9.3/8.9.3) with SMTP id QAA20689 for ; Thu, 21 Jun 2001 16:21:13 -0400 Message-ID: <017f01c0fa8d$2f134a60$330a0a0a@rutgersinsurance.com> From: "Adam Lang" To: "pgsql-php" References: <5.0.2.1.0.20010621113844.00a87ec0@172.16.48.1> <5.0.2.1.0.20010621152019.00ac0950@172.16.48.1> Subject: Re: Do an Update without waiting for the result Date: Thu, 21 Jun 2001 16:03:05 -0400 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200106/50 X-Sequence-Number: 447 That's a tough one... The only thing I can think of is to have a script/program outside of php to do your insert and call that from your php script. I don't think it will wait for a return code before it moves on to the rest of the code in the script. You are that positive your script will succeed everytime? Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Laurent Patureau" To: "pgsql-php" Sent: Thursday, June 21, 2001 9:24 AM Subject: Re: [PHP] Do an Update without waiting for the result > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org