Re: One-shot expanded output in psql using \gx
David Fetter <david@fetter.org>
From: David Fetter <david@fetter.org>
To: Christoph Berg <christoph.berg@credativ.de>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-09T14:48:25Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
psql: Fix \gx when FETCH_COUNT is used
- 0cdc3e47bea4 11.0 landed
- 51d0fa8ed93f 10.0 landed
-
psql: Add \gx command
- b2678efd43f1 10.0 landed
On Thu, Feb 09, 2017 at 11:12:00AM +0100, Christoph Berg wrote: > Re: David Fetter 2017-02-08 <20170208151214.GA8118@fetter.org> > > Would you be open to saving the next person some work by doing > > something similar to how \d is done, namely looking for an 'x' > > modifier after g without regard to how far after? As of this writing, > > the \d version starts at line 398 in master. > > I think that ship has sailed, given there's already \gset. > Supporting \g[optionset] next to it *now*, given no one knows how > "optionset" is going to evolve seems like premature optimization. Good point. Thanks for looking it over. Best, David. -- David Fetter <david(at)fetter(dot)org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate