Here is a simple select output.
darcy=# select title_id, title_name from title;
title_id | title_name
----------+------------
2 | Mrs
3 | Ms
4 | Miss
(3 rows)
Now I change the border.
darcy=# \pset border 2
Border style is 2.
darcy=# select title_id, title_name from title;
+----------+------------+
| title_id | title_name |
+----------+------------+
| 2 | Mrs |
| 3 | Ms |
| 4 | Miss |
+----------+------------+
(3 rows)
I would like to propose a new border setting.
darcy=# \pset border 3
Border style is 3.
darcy=# select title_id, title_name from title;
+----------+------------+
| title_id | title_name |
+==========+============+
| 2 | Mrs |
+----------+------------+
| 3 | Ms |
+----------+------------+
| 4 | Miss |
+----------+------------+
(3 rows)
The reason for this is to allow the output to be fed directly into any
system using Restructured text as described in
http://docutils.sourceforge.net/docs/user/rst/quickref.html.
If there is any interest I will submit patches for code and
documentation.
--
D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers