jsonb_pretty method buffer ending prematurely
See original GitHub issueDescription
When the postgres method jsonb_pretty
is used on a jsonb object that is larger than ~15-20 lines, then the result is cut off. Not sure if it is cut off from a certain number of characters or certain number of lines.
i.e.
test@localhost:main> select jsonb_pretty(object) from table;
+-------------------------------------------------------------------+
| jsonb_pretty |
|-------------------------------------------------------------------|
| [ |
| { |
| "sample": "1", |
| "this": { |
| "does": true, |
| "not": null, |
| "output": null, |
| "properly": null, |
| "and": null, |
| "is": null, |
| "cut": null |
| }, |
| "off": "false", |
| "prematurely": false, |
| "unfortunately": true |
+-------------------------------------------------------------------+
Your environment
Connected to a local postgres database
-
Please provide your OS and version information. Running Mac OS 10.14.5
-
Please provide your CLI version. pgcli version 2.1.1 (latest)
-
What is the output of
pip freeze
command. No output.
To be clear, this issue does not happen when using the native psql cli tool for postgres.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Documentation: 9.5: Release 9.5 - PostgreSQL
Create mechanisms for tracking the progress of replication, including methods for identifying the origin of individual changes during ...
Read more >Today I Learned - TIL @ Hashrocket
Hey, want to change your database so that you can never delete a record? Here's a way to implement this (probably terrible) idea,...
Read more >VMware Tanzu Greenplum 7 Beta Documentation
Configuring and Using Resource Groups. 988. Prerequisite. 988. Procedure. 990. VMware Tanzu Greenplum 7 Beta Documentation. VMware, Inc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I actually had it installed through
brew
and it looks like the formula had not been updated yet. And when i uninstalled and reinstalled it the issue persisted. I then uninstalled it usingbrew
and reinstalled it throughpip
instead and that installed the latest version with that fix you mentioned (fromcli-helper 1.2.1
). Thanks for your help! @amjith 🎉If I use the normal
psql
client btw it can print the column just fine.