how to kill postgreSQL session

From: sang hyun Lee <cafeelvis(at)hotmail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: how to kill postgreSQL session
Date: 2008-06-12 07:53:22
Message-ID: BLU136-W50829FE98CDE579F90D631ABAD0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Giorgio Valoti 2008-06-12 08:18:51 to_tsvector: error with italian configuration
Previous Message Collin Peters 2008-06-12 06:18:19 Re: pgAdmin complains about vacuuming required after fresh 8.1 install