diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-03-09 12:08:58 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-03-09 12:08:58 -0500 |
commit | b6fb6471f6afaf649e52f38269fd8c5c60647669 (patch) | |
tree | 18c0f9e24c9378625f994cdf24d193fadcd42349 /contrib/pgcrypto/pgp-encrypt.c | |
parent | 8776c15c85322612b9bf79daf50f74be71c12e05 (diff) | |
download | postgresql-b6fb6471f6afaf649e52f38269fd8c5c60647669.tar.gz |
Add a generic command progress reporting facility.
Using this facility, any utility command can report the target relation
upon which it is operating, if there is one, and up to 10 64-bit
counters; the intent of this is that users should be able to figure out
what a utility command is doing without having to resort to ugly hacks
like attaching strace to a backend.
As a demonstration, this adds very crude reporting to lazy vacuum; we
just report the target relation and nothing else. A forthcoming patch
will make VACUUM report a bunch of additional data that will make this
much more interesting. But this gets the basic framework in place.
Vinayak Pokale, Rahila Syed, Amit Langote, Robert Haas, reviewed by
Kyotaro Horiguchi, Jim Nasby, Thom Brown, Masahiko Sawada, Fujii Masao,
and Masanori Oyama.
Diffstat (limited to 'contrib/pgcrypto/pgp-encrypt.c')
0 files changed, 0 insertions, 0 deletions