Hola, segun la documentacion existen dos funciones para "matar" un query

pg_cancel_backend - Cancel a backend's current query. You can execute this against another backend that has exactly the same role as the user calling the function. In all other cases, you must be a superuser. pg_terminate_backend - Terminate a backend. You can execute this against another backend that has exactly the same role as the user calling the function. In all other cases, you must be a superuser.


has intentado ejecutar la segunda?, pues la primera solo la cancela, la segunda le corta la conexión

y además puede que el aplicativo intente volver a ejecutar la query


Saludos


El 31-05-19 a las 12:53, FLOR AVILA ELIAS escribió:
Buenos dias tengo un servidor Centos 5 con postgres 9.3 que necesito matar su query pero definitivamente, porque a pesar que los mato con select pg_cancel_backend(PID) vuelve a tratar de ejecutarse.

Gracias Flor



Reply via email to