Make the printing code somewhat more independent by not relying on
Peter Eisentraut <peter_e@gmx.net>
Make the printing code somewhat more independent by not relying on functions and global variables from the rest of psql. Also clean up some data type mismatches created by the last pager patch.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +3 −1 |
| src/bin/psql/common.c | modified | +1 −52 |
| src/bin/psql/common.h | modified | +1 −3 |
| src/bin/psql/help.c | modified | +2 −2 |
| src/bin/psql/help.h | modified | +2 −2 |
| src/bin/psql/mbprint.c | modified | +5 −6 |
| src/bin/psql/mbprint.h | modified | +3 −3 |
| src/bin/psql/print.c | modified | +62 −18 |
| src/bin/psql/print.h | modified | +6 −1 |
| src/bin/psql/startup.c | modified | +3 −1 |