Skip site navigation (1) Skip section navigation (2)

pgsql: I've created a patch which adds support for troff "-ms" output to

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: I've created a patch which adds support for troff "-ms" output to
Date: 2005-06-09 15:27:27
Message-ID: 20050609152727.5D9EB5292E@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
I've created a patch which adds support for troff "-ms" output to
psql.  i.e. "\pset format troff-ms".  The patch also corrects some
problems with the "latex" format, notably defining an extra column in
the output table, and correcting some alignment issues; it also
changes the output to match the border setting as documented in the
manual page and as shown with the "aligned" format.

The troff-ms output is mostly identical to the latex output allowing
for the differences between the two typesetters.

The output should be saved in a file and piped as follows:

  cat file | tbl | troff -T ps -ms > file.ps
or
  tbl file | troff -T ps -ms > file.ps

Because it contains tabs, you'll need to redirect psql output or use
"script", rather than pasting from a terminal window, due to the tabs
which can be replaced with spaces.

Roger Leigh

Modified Files:
--------------
    pgsql/doc/src/sgml/ref:
        psql-ref.sgml (r1.138 -> r1.139)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/psql-ref.sgml.diff?r1=1.138&r2=1.139)
    pgsql/src/bin/psql:
        command.c (r1.143 -> r1.144)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c.diff?r1=1.143&r2=1.144)
        print.c (r1.55 -> r1.56)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.c.diff?r1=1.55&r2=1.56)
        print.h (r1.22 -> r1.23)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.h.diff?r1=1.22&r2=1.23)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-06-09 16:35:09
Subject: pgsql: Please find attached a patch (diff -c against cvs HEAD) to add a
Previous:From: Tom LaneDate: 2005-06-09 04:19:00
Subject: pgsql: Simplify the planner's join clause management by storing join

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group