pgadmin-org / pgadmin-org/pgadmin4

Add Option to enable "Result copy quoting" for single cells again

Open
#9,573 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the solution you'd like

Up to version 9.11, when copying the value from a single cell, it was enclosed in quotes.
This was particularly useful when working extensively with UUIDs or text values.
Due to the change ( #9373 ) in behavior, the quotes must now be added manually before pasting each time a single UUID is copied, which is quite inconvenient compared to the previous function. That was a very useful feature.

Describe alternatives you've considered

I would suggest that the current function remains in place for copying from multiple cells and that an additional setting is added.
This new setting would allow you to set the copying behavior for single cell values. Either "no quotes", quotation marks or apostrophes.
This would allow you to disable the function at any time if you don't need it.

Additional context

This is the current setting:
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review issue #9373 and the current copy setting shown in the issue before locating the query tool's single-cell and multi-cell copy entry points. Done means users can choose no quotes, quotation marks, or apostrophes for single-cell copies while existing multi-cell behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.