Re: Properly page footers in psql

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Properly page footers in psql
Дата
Msg-id E17le4j-0002PT-00@hall.mail.mindspring.net
обсуждение исходный текст
Ответ на Properly page footers in psql  (greg@turnstep.com)
Ответы Re: Properly page footers in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


Any word on this? Is there a disadvantage to not guessing
the number of lines and just sending everything to the pager
no matter what?

Index: print.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/bin/psql/print.c,v
retrieving revision 1.28
diff -r1.28 print.c
1078,1079c1078,1080
< if (!opt->tuples_only)
< lines += 5;
---
> if (footers && !opt->tuples_only)
> for (ptr = footers; *ptr; ptr++)
> lines++;
1106d1106

Greg Sabino Mullane  greg@turnstep.com
PGP Key: 0x14964AC8 200208311637

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE9cSpvvJuQZxSWSsgRAiunAKCN4+YpR5QmMyGIPmlTMAhj2ewSBACg7tvr
n0yEFMfJnXgyVdZkP/DZUH4=
=9zcO
-----END PGP SIGNATURE-----





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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: create or replace rule/view (fwd)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Properly page footers in psql