OSDN Git Service

Improve psql's internal print.c code by introducing an actual print API.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 12 May 2008 22:59:58 +0000 (22:59 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 12 May 2008 22:59:58 +0000 (22:59 +0000)
commit1e9199e84c26eca7bdd49b47c1c627d4f3a60747
tree26843bb2253a3e61fd97b2d152f529fd6c3799ca
parent9340c6372f78206cb5769a0ea4e0aa85a7e134e0
Improve psql's internal print.c code by introducing an actual print API.
Provides for better code readability, but mainly this is infrastructure changes
to allow further changes such as arbitrary footers on printed tables.  Also,
the translation status of each element in the table is more easily customized.

Brendan Jurd, with some editorialization by me.
src/bin/psql/describe.c
src/bin/psql/print.c
src/bin/psql/print.h
src/bin/scripts/common.c