| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Missing latex-longtable value |
| Date: | 2015-07-07 16:44:29 |
| Message-ID: | 20150707164429.GA12451@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Jul 7, 2015 at 11:48:13AM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > I have discovered that psql \pset format does not display
> > "latex-longtable" as a valid value, e.g.:
>
> > test=> \pset format kjasdf
> > \pset: allowed formats are unaligned, aligned, wrapped, html, asciidoc, latex, troff-ms
>
> > With the attached patch, the latex-longtable value is properly displayed:
>
> > test=> \pset format kjasdf
> > \pset: allowed formats are unaligned, aligned, wrapped, html, asciidoc, latex, latex-longtable, troff-ms
>
> > Should this be fixed in 9.6 only or 9.5 too?
>
> It's a bug. Back-patch as needed.
Doesn't that cause translation string differences that are worse than
the original bug, e.g.:
psql_error("\\pset: allowed formats are unaligned, aligned, wrapped, html, asciidoc, latex, latex-longtable, troff-ms\n");
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2015-07-07 16:46:19 | Re: replication slot restart_lsn initialization |
| Previous Message | Gurjeet Singh | 2015-07-07 16:42:54 | Re: replication slot restart_lsn initialization |