Re: One-shot expanded output in psql using \G
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Daniel Verite" <daniel@manitou-mail.org>
Cc: "Christoph Berg" <christoph.berg@credativ.de>,
"PostgreSQL Hackers" <pgsql-hackers@postgresql.org>
Date: 2017-01-30T15:00:02Z
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
"Daniel Verite" <daniel@manitou-mail.org> writes: >> \G will be much easier to explain to existing users (both people >> coming from MySQL to PostgreSQL, and PostgreSQL users doing a detour >> into foreign territory), and it would be one difference less to have >> to care about when typing on the CLIs. > That's a good argument, but if it's pitted against psql's > consistency with itself, I'd expect the latter to win. FWIW, \gx makes sense to me as well, particularly if we make it a complete extension of \g and allow an optional target file name. Does that functionality exist in mysql's \G ? regards, tom lane