这是indexloc提供的服务,不要输入任何密码
Skip to content

Select all rows button selects every row in the table, not just the ones in the UI #8460

@rtay1188

Description

@rtay1188

Description

The select all rows button that appears after clicking in the top left corner of the database in the UI selects every row in the table, not just the ones in the UI.

Steps to reproduce the behavior

  1. Create a table with a timestamp column
  2. Insert 10000 rows each with different timestamp, each on different day - ex:
INSERT INTO public.table (timestamp)
SELECT TIMESTAMP '2025-02-01 00:00:00' - INTERVAL '3 seconds' * generate_series(1, 10000);
INSERT INTO public.table (timestamp)
SELECT TIMESTAMP '2025-02-02 00:00:00' - INTERVAL '3 seconds' * generate_series(1, 10000);
  1. Select the rows with timestamp less than the later date
SELECT * FROM public.table WHERE timestamp < '2025-02-02'
  1. Click the top left corner of the table in the Data Output tab of the UI
  2. Click Select All 10000 rows
  3. Click Delete
  4. Click Save Data Changes
  5. Select all rows
SELECT * FROM public.table
  1. See that all rows were deleted.

Expected behavior

Expectation is that only the 10000 selected in the UI should have been deleted.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: pgadmin version 8.14, postgres version 17.2 on TrueNAS Scale
  • Mode: Desktop

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions