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)