You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, just wanted to bring up that the "Explain Query" button is potentially misleading and could cause accidental loss of data as it actually runs EXPLAIN ANALYZE not just EXPLAIN as the button label initially suggests.
Yeah you're right, though i don't know what the better UX would be for this functionality: i don't really want to have another button to run explain in the UI.
I suppose this could be achieved with a dropdown-style button that includes EXPLAIN / EXPLAIN ANALYZE options. Alternatively, we can check if selected query has any write operations (INSERT/UPDATE/etc) and confirm if user wants to perform the operation.
Hey, just wanted to bring up that the "Explain Query" button is potentially misleading and could cause accidental loss of data as it actually runs
EXPLAIN ANALYZE
not justEXPLAIN
as the button label initially suggests.Relevant code here:
pgweb/pkg/api/api.go
Line 284 in 9d1a3fd
Version v0.11.7
The text was updated successfully, but these errors were encountered: