how to kill postgreSQL session - Mailing list pgsql-general

From sang hyun Lee
Subject how to kill postgreSQL session
Date
Msg-id BLU136-W50829FE98CDE579F90D631ABAD0@phx.gbl
Whole thread Raw
Responses Re: how to kill postgreSQL session  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
Hi there,
 
I'm a developer who is working on PostgreSQL API and i got stuck in Terminating session.
I'm working on PostgreSQL 8.3.
 
Please, help if anyone has ideas on how to kill PostgreSQL session.
 
i found this code in misc.c
 

#ifdef NOT_USED

 

/* Disabled in 8.0 due to reliability concerns; FIXME someday */

Datum

pg_terminate_backend(PG_FUNCTION_ARGS)

{

           PG_RETURN_INT32(pg_signal_backend(PG_GETARG_INT32(0), SIGTERM));

}

#endif

 


Discover the new Windows Vista Learn more!

pgsql-general by date:

Previous
From: "Collin Peters"
Date:
Subject: Re: pgAdmin complains about vacuuming required after fresh 8.1 install
Next
From: "wenjing wu"
Date:
Subject: Fw: postgrepsql vacuum