The message "list index out of range" is displayed if the user drops the table if the query running on the view data
To Reproduce
Steps to reproduce the behavior:
- create database huge
- Create the following query:
create table temp1 (a numeric);
insert into temp1 (a) select random()*100 from generate_series(0,100000000)
- Table created in 3 minutes' time
- Select the table and go into view data
- Open another query tool Window
- execute this query DROP TABLE IF EXISTS public.temp1
- Now list index out of range is displayed
Expected behavior
A pop-up message should be displayed if any query is running in view data and the user wants to drop the query from another query tool.
Error message
list index out of range
Screenshots
Desktop (please complete the following information):
- OS: [e.g. Windows 10, OSX monterey]
- Version: [e.g. 7.4]