| From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
|---|---|
| To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: proposal: psql command \graw |
| Date: | 2017-11-09 20:03:59 |
| Message-ID: | alpine.DEB.2.20.1711092047030.4821@lancre |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello Pavel,
> I hope so I fixed all mentioned issues.
Patch applies with a warning:
> git apply ~/psql-graw-2.patch
/home/fabien/psql-graw-2.patch:192: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Otherwise it compiles. "make check" ok. doc gen ok.
Two spurious empty lines are added before StoreQueryTuple.
Doc: "If <literal>+</literal> is appended to the command name, a column
names are displayed."
I suggest instead: "When <literal>+</literal> is appended, column names
are also displayed."
ISTM that you can remove "force_column_header" and just set "tuple_only"
to what you need, that is you do not need to change anything in function
"print_unaligned_text".
--
Fabien.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Ramsey | 2017-11-09 20:11:49 | Inlining functions with "expensive" parameters |
| Previous Message | Stephen Frost | 2017-11-09 19:56:23 | Re: Simplify ACL handling for large objects and removal of superuser() checks |