Re: Cerrar Conexiones II

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: cristian <clopez(at)sol(dot)info(dot)unlp(dot)edu(dot)ar>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Cerrar Conexiones II
Date: 2005-10-26 15:32:28
Message-ID: 20051026153228.GD25503@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

cristian escribió:
> El problema es que lo quiero hacer en un script, y el <PID> no lo
> conozco. Por eso queria saber si no habia alguna funcionalidad del
> postgres que provea cerrar conexiones existentes.

No, no hay. Tienes que determinar el PID con algun otro mecanismo (por
ej. pg_stat_activity creo que te lo entrega).

--
Alvaro Herrera http://www.advogato.org/person/alvherre
"There is evil in the world. There are dark, awful things. Occasionally, we get
a glimpse of them. But there are dark corners; horrors almost impossible to
imagine... even in our worst nightmares." (Van Helsing, Dracula A.D. 1972)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mario Gonzalez 2005-10-26 15:39:15 Re: Cerrar Conexiones II
Previous Message Alvaro Herrera 2005-10-26 15:30:14 Re: Cursores