Andreas Schmitz <a(dot)schmitz(at)cityweb(dot)de> writes:
> ist there any way to cancel a user query as dba ?
Send a SIGINT to the backend process running that query, eg
kill -INT <pid>
This has the same effect as a user-requested cancel (eg ^C in psql).
regards, tom lane