You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to copy any JSONB contents from Data Output window by keystroke Ctrl-C ends up with a copy buffer containing a double-quoted string, having all double quotes inside doubled.
Execute: select '{"a":"bbb", "c":"ddd"}'::jsonb
Double click single result opens a view showing:
{
"a": "bbb",
"c": "ddd"
}
Select all lines, press Ctrl-C, paste contents anywhere in pgadmin or in any text editor. This will yield the wrong result: "{""a"": ""bbb"", ""c"": ""ddd""}"
Expected result is: {"a":"bbb", "c":"ddd"}
This bug also appears for contents of type JSON, not only for JSONB. I could observe it all the time after upgrading from 8.12 to 8.13. Apparently the latest release just accidentally uses the wrong quotes for copied JSON strings, which internally also leads to doubled double quotes.
Tested in environment:
Version
8.13
Application Mode
Desktop
Commit: b278265 2024-11-11
Current User [email protected]
Electron Version
33.2.0
Browser
Chrome 130.0.6723.118
Operating System
Windows-10-10.0.19045-SP0
The text was updated successfully, but these errors were encountered:
Trying to copy any JSONB contents from Data Output window by keystroke Ctrl-C ends up with a copy buffer containing a double-quoted string, having all double quotes inside doubled.
Execute:
select '{"a":"bbb", "c":"ddd"}'::jsonb
Double click single result opens a view showing:
Select all lines, press Ctrl-C, paste contents anywhere in pgadmin or in any text editor. This will yield the wrong result:
"{""a"": ""bbb"", ""c"": ""ddd""}"
Expected result is:
{"a":"bbb", "c":"ddd"}
This bug also appears for contents of type JSON, not only for JSONB. I could observe it all the time after upgrading from 8.12 to 8.13. Apparently the latest release just accidentally uses the wrong quotes for copied JSON strings, which internally also leads to doubled double quotes.
Tested in environment:
Version
8.13
Application Mode
Desktop
Commit:
b278265 2024-11-11
Current User
[email protected]
Electron Version
33.2.0
Browser
Chrome 130.0.6723.118
Operating System
Windows-10-10.0.19045-SP0
The text was updated successfully, but these errors were encountered: