Infinite Loop

Поиск
Список
Период
Сортировка
Искать

Infinite Loop

От:
"Mark Wilson" <mark@mediasculpt.com>
Дата:
I've been bad.  You'll smack me.
 
I wrote a plpgsql function with an infinite loop in it.  I have executed said function.
 
How can I track down and kill this session? (v7.2.1)
 
Mark

Re: Infinite Loop

От:
"Josh Berkus" <josh@agliodbs.com>
Дата:
Mark,

> I wrote a plpgsql function with an infinite loop in it.  I have
> executed said function.
> 
> How can I track down and kill this session? (v7.2.1)

I'd suggest doing a "pg_ctl -m fast stop" to halt the database, then
restarting.

-Josh Berkus

Re: Infinite Loop

От:
"Mark Wilson" <mark@mediasculpt.com>
Дата:
Thanks Josh

----- Original Message ----- 
From: "Josh Berkus" 
To: "Mark Wilson" 
Cc: 
Sent: Friday, December 06, 2002 11:54 AM
Subject: Re: [NOVICE] Infinite Loop


> Mark,
> 
> > I wrote a plpgsql function with an infinite loop in it.  I have
> > executed said function.
> > 
> > How can I track down and kill this session? (v7.2.1)
> 
> I'd suggest doing a "pg_ctl -m fast stop" to halt the database, then
> restarting.
> 
> -Josh Berkus
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 
> 

FAQ