Re: Quit currently running query - Mailing list pgsql-general

From Peter J. Holzer
Subject Re: Quit currently running query
Date
Msg-id 20230228173145.hkyrsoqicyyjg7bx@hjp.at
Whole thread Raw
In response to Re: Quit currently running query  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: Quit currently running query  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
On 2023-02-28 07:42:08 -0600, Ron wrote:
> On 2/28/23 04:53, Albert Cornelius wrote:
>
>     How can I quit a currently running query? I've issued a query and
>     my server does not respond anymore. Is there another solution than
>     using kill -9?
>
>
> What specifically do you mean by "my server does not respond
> anymore"?  Because if "the server" really doesn't respond anymore, you
> can't even issue "kill -9".

The term "server" can mean different things:

1) A role in an interaction between two programs. The "client" is the one
   which issues requests, and the "server" is the one which fullfills
   them.

2) A program which is intended for the server role. Note that a program
   can be a server for one protocol and a client for another (e.g., a
   database server can be a DNS or LDAP client). (And some programs are
   even server and client for the same protocol)

3) A machine intended for running server programs.

You are thinking of the 3rd meaning. My guess is that Albert meant the
first.

        hp


--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachment

pgsql-general by date:

Previous
From: Marcos Pegoraro
Date:
Subject: Re: Move all elements toward another schema?
Next
From: Ron
Date:
Subject: Re: Quit currently running query