psql format result as markdown tables

Поиск
Список
Период
Сортировка
Hello

I wonder if someone knows how to configure psql to output results as
markdown tables. 
Then instead of :

SELECT * FROM (values(1,2),(3,4)) as t;
 column1 | column2 
---------+---------
       1 |       2
       3 |       4

Get the result as :
SELECT * FROM (values(1,2),(3,4)) as t;
| column1 | column2| 
|---------|--------|-
|       1 |       2|
|       3 |       4|

Thanks by advance


В списке pgsql-general по дате отправления:

Предыдущее
От: Rahul Sharma
Дата:
Сообщение: Postgres 9.4 using primary key index in almost all queries leading todegraded performance
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Missing WAL file after running pg_rewind