Обсуждение: PQprint

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

PQprint

От
Chris Bitmead
Дата:
What was the reason that PQprint was abandoned and psql went in its own
direction?

-- 
Chris Bitmead
mailto:chris@bitmead.com


Re: PQprint

От
eisentrp@csis.gvsu.edu
Дата:
On Tue, 4 Jul 2000, Chris Bitmead wrote:

> What was the reason that PQprint was abandoned and psql went in its own
> direction?

The printing routines had to be rewritten, in particular to make them more
modular. The options were to add a fourth(!) generation of printing
routines to libpq and live with them until the end of days, or make them
internal to psql and don't tell anyone when changes happen.

If you want to use psql's printing routines you can just use print.c with
no changes. I've made an effort to keep it independent of psql.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden