From: "Sergio Charpinel Jr." on
Hi,

How can I cancel a query using DB module?

Thanks in advance.

--
Sergio Roberto Charpinel Jr.
From: Michael Gauthier on
On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote:
> Hi,
>
> How can I cancel a query using DB module?
>
Hi Sergio,

What do you mean by cancel? Do you mean begin a transaction, perform
some actions and then roll-back the transaction?


Cheers,


Mike

From: "Sergio Charpinel Jr." on
I mean, send a query to db server and cancel it. Like:
http://www.php.net/manual/en/function.pg-cancel-query.php . There is a
similar function for mysql too.

Cheers.

2010/7/9 Michael Gauthier <mike(a)silverorange.com>

> On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote:
> > Hi,
> >
> > How can I cancel a query using DB module?
> >
> Hi Sergio,
>
> What do you mean by cancel? Do you mean begin a transaction, perform
> some actions and then roll-back the transaction?
>
>
> Cheers,
>
>
> Mike
>
>


--
Sergio Roberto Charpinel Jr.
From: Mark Steudel on
Actually I don't see it for mysql...

On Fri, Jul 9, 2010 at 1:36 PM, Sergio Charpinel Jr.
<sergiocharpinel(a)gmail.com> wrote:
> I mean, send a query to db server and cancel it. Like:
> http://www.php.net/manual/en/function.pg-cancel-query.php . There is a
> similar function for mysql too.
>
> Cheers.
>
> 2010/7/9 Michael Gauthier <mike(a)silverorange.com>
>
>> On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote:
>> > Hi,
>> >
>> > How can I cancel a query using DB module?
>> >
>> Hi Sergio,
>>
>> What do you mean by cancel? Do you mean begin a transaction, perform
>> some actions and then roll-back the transaction?
>>
>>
>> Cheers,
>>
>>
>> Mike
>>
>>
>
>
> --
> Sergio Roberto Charpinel Jr.
>



--
-----------------------------------------
Mark Steudel
P: 425.298.7244
F: 206.260.3021
msteudel(a)gmail.com

.. : Work : .
http://www.mindfulinteractive.com

.. : Play : .
http://www.steudel.org/blog
From: "Sergio Charpinel Jr." on
Mark,

Sorry, you are right.. I thought that I've seen something similar for mysql.
Let me do another question.

Is there any support for pg_cancel_query ?


2010/7/9 Mark Steudel <msteudel(a)gmail.com>

> Actually I don't see it for mysql...
>
> On Fri, Jul 9, 2010 at 1:36 PM, Sergio Charpinel Jr.
> <sergiocharpinel(a)gmail.com> wrote:
> > I mean, send a query to db server and cancel it. Like:
> > http://www.php.net/manual/en/function.pg-cancel-query.php . There is a
> > similar function for mysql too.
> >
> > Cheers.
> >
> > 2010/7/9 Michael Gauthier <mike(a)silverorange.com>
> >
> >> On Fri, 2010-07-09 at 12:11 -0300, Sergio Charpinel Jr. wrote:
> >> > Hi,
> >> >
> >> > How can I cancel a query using DB module?
> >> >
> >> Hi Sergio,
> >>
> >> What do you mean by cancel? Do you mean begin a transaction, perform
> >> some actions and then roll-back the transaction?
> >>
> >>
> >> Cheers,
> >>
> >>
> >> Mike
> >>
> >>
> >
> >
> > --
> > Sergio Roberto Charpinel Jr.
> >
>
>
>
> --
> -----------------------------------------
> Mark Steudel
> P: 425.298.7244
> F: 206.260.3021
> msteudel(a)gmail.com
>
> . : Work : .
> http://www.mindfulinteractive.com
>
> . : Play : .
> http://www.steudel.org/blog
>



--
Sergio Roberto Charpinel Jr.