Giter VIP home page Giter VIP logo

Comments (8)

sosedoff avatar sosedoff commented on August 15, 2024 1

This seems to be interesting, however i'm not planning on getting this implemented in the next releases.

from pgweb.

kespindler avatar kespindler commented on August 15, 2024

It'd also be useful to know how long an ongoing query has been running. A simple javascript timer on the page would suffice for this purpose.

from pgweb.

sosedoff avatar sosedoff commented on August 15, 2024

@kespindler javascript timer would be irrelevant in case if you run a query on non-local servers. Results
table also takes some time. So if we want to have query execution time, it has to be done via backend.

from pgweb.

sosedoff avatar sosedoff commented on August 15, 2024

Stopping a running query is currently in works.

from pgweb.

codeBearer avatar codeBearer commented on August 15, 2024

Is it possible to use pgweb as a service? Or what should be the proper way to deploy it?

from pgweb.

spaquet avatar spaquet commented on August 15, 2024

+1

from pgweb.

flesler avatar flesler commented on August 15, 2024

I think this should be pretty easy to make.

You already made the Activity tab, it has which one is active and what's the pid.
I imagine active queries having a "kill" button that executes this:

SELECT pg_cancel_backend(pid);

And Activity tab is refreshed. That should do no?

from pgweb.

sosedoff avatar sosedoff commented on August 15, 2024

Implemented in master

from pgweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.