pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Option to hide TRUNCATE option from actions list

Open heme3ic opened this issue 1 year ago • 1 comments

Problem

When working on production database we often use "View first 100 rows". But there is "TRUNCATE" option not so far away with similar behaviour. I am always scared of truncating table instead of just viewing it without any confirmation.

Solution I'd like to suggest some sort of option to hide TRUNCATE (and optionally DELETE) options from menus on per-user basis.

heme3ic avatar Apr 23 '25 13:04 heme3ic

On clicking Truncate option, confirmation pop up is shown.

yogeshmahajan-1903 avatar Apr 25 '25 11:04 yogeshmahajan-1903