14

I decided to go on pgAdmin 4 instead of the 3 (I'm on Windows 7). It seems that this software if somehow still in a alpha state...

I would like to only get the content of one cell. So I select this cell and tap Ctrl+C.

But it seems NOT to copy the content to the clipboard (the previous clipboard content stays when I paste...).

I notice that the copy button in the topbar stays disabled...

On the pgAdmin 4 GUI Tool page, it seems the only proposed way to copy is to click on this button :

Click the Copy icon to copy the currently selected row.

Do anybody has a better way to do this ?

Louis V
  • 301
  • 1
  • 2
  • 7

6 Answers6

7

This is for pgAdmin 4 / Version 2.0

Hit F8 (download as CSV) , or click the rightmost button enter image description here

After that, save the Data Output as a csv file (of your choice)enter image description here

Costea
  • 71
  • 1
  • 2
6

OK I've found.

You have to double click on the cell, then a popup pops up, with the cell content selected, and then you can use ctrl+c...

Louis V
  • 301
  • 1
  • 2
  • 7
2

There is a green row with a floppy disk that saves the result of your query.

Save query

1

For integer or double columns, the 'pop-up' mentioned by @user3550873 doesn't appear so you cannot copy from there, but there is a workaround :

Drag and Drop works !

So, you can drag-and-drop the value you want to the query text field, then copy it anywhere from there.

tinlyx
  • 3,540
  • 13
  • 46
  • 72
1

A solution with some limit:

  1. click on the target cell
  2. ctrl + c

It works when the window can show all the columns. If you scroll from left to right for the result(if the result has many columns), it doesn't work. Maybe it's a bug.

enter image description here

enter image description here

Siwei
  • 111
  • 5
0

In PgAdmin 4 there is the configuration for show max characters per column. Go to file > options > query tool, update the "max. characters per column" as per your limit, I have set as 10000.

enter image description here

  • 1
    the problem is that I can see a lot of characters, much more than copied using the Ctrl+C key combination. I have to use the @user3550873 solution to get the whole cell saved from the query – oleksa Dec 13 '19 at 07:17