Skip site navigation (1) Skip section navigation (2)

Re: manage connections

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: manage connections
Date: 2007-10-18 10:48:37
Message-ID: 20071018104837.GP28331@a-kretschmer.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  Thu, dem 18.10.2007, um 12:36:41 +0200 mailte Nikolai Cheltsov folgendes:
> As I am not sure how to execute this function(is there analog of DUAL table in
> Oracle), I am using something like this;
> 
> SELECT pg_cancel_backend(15429) FROM pg_stat_activity;

You don't need the FROM - part, just select pg_cancel_backend();



> 
> The result is;
> 
> ERROR: function pg_cancel_backend(integer) does not exist
> 
> Aby Ideas?

Which version? My guess: too old...
This function are new since 8.1 oder 8.0, i don't know.

> 
> On 10/18/07, A. Kretschmer <andreas(dot)kretschmer(at)schollglas(dot)com> wrote:

please no silly top-posting.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

In response to

pgsql-novice by date

Next:From: Sylvain BroheeDate: 2007-10-18 12:48:33
Subject: could not open file "global/pg_database"
Previous:From: Nikolai CheltsovDate: 2007-10-18 10:38:15
Subject: connection management

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group