Comments (7)
You're genius! How did you do it so fast??
from pspg.
from pspg.
Cool.
from pspg.
I really think you should go and popularize your work. Like, give it a snazzy name and a web page perhaps. And advertise it in the wider PostgreSQL community. Maybe become part of a distro, who knows? I mean it's already better than any other command line tool I've seen so far when it comes to displaying a big table of results.
from pspg.
from pspg.
And very so! I've already played around with a script that issues something that looks like a PostgrSQL ASCII table to make pspg turn on its frozen column mode. It should be relatively easy to write a bash script to view, say CSV files with it, or the output of various other tools (say ls
, printenv
for starters). If you'd tell what makes pspg recognize columns (and whether that's configurable?), I'd venture to give it a try. I mean, 2D-scrollable output in neat columns has many use cases on the command line.
Another thing that I've toyed with (in thinking) is the possibility to do ANSI color highlighting within output cells. That would sure be difficult to do though, what with escape codes slipping out to the left and so on.
from pspg.
from pspg.
Related Issues (20)
- Pspg and postgis columns HOT 2
- Some styles cause shell styles to break HOT 8
- Support for Ubuntu 18.04? HOT 11
- Segfault on empty input HOT 3
- tabs in fields have adverse effects on columns boundaries and alignment HOT 8
- Feature req: freeze-columns as a config file setting HOT 3
- pspg crashes when copying long text HOT 9
- segfault when watching non existing --querystream file HOT 4
- Saving to CSV on large number of rows only exports partial rows HOT 22
- Sort doesn't work... HOT 3
- Feature: Sort multiple columns individually as a sequence of sort steps HOT 4
- difference in pgcli and psql table behavior in pspg HOT 4
- Feature: Handle long columns. Add option for max column width, and keybindings to scroll within the long column, etc. HOT 2
- NullPointerException when running pspg in sqlcl HOT 3
- Exactly what data does pspg receive from psql? HOT 1
- warning: integer overflow in expression of type ‘long int’ results in ‘0’ HOT 2
- Feature Request: Customize the word wrap character HOT 4
- Segfault on KOI8-RU file HOT 4
- Clearer + more visible installation instructions? HOT 6
- Windows support? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pspg.