Re: psql - improve test coverage from 41% to 88%
От
Michael Paquier
Тема
Re: psql - improve test coverage from 41% to 88%
Дата
Msg-id
20190911062559.GJ1953@paquier.xyz
Ответ на
Re: psql - improve test coverage from 41% to 88% (Fabien COELHO)
Список
Дерево обсуждения
psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Alvaro Herrera <alvherre@2ndquadrant.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% David Steele <david@pgmasters.net>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Tom Lane <tgl@sss.pgh.pa.us>
Re: psql - improve test coverage from 41% to 88% Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
On Tue, Sep 03, 2019 at 08:06:43AM +0200, Fabien COELHO wrote: > Attached is a rebase after TestLib.pm got a documentation in > 6fcc40b1. I am not completely sure what to think about this patch, but here are some high-level comments. +=item $node->icommand_checks(cmd, ...) + +=cut + +sub icommand_checks Surely this can have a better description, like say PostgresNode::command_checks_all. Is Expect compatible down to perl 5.8.0 which is the minimum required for the TAP tests (see src/test/perl/README)? There are cases where we don't support tab completion, aka no USE_READLINE. So tests would need to be skipped. - \a \C arg1 \c arg1 arg2 arg3 arg4 \cd arg1 \conninfo + \a + \C arg1 Why are you changing that? Your patch does not touch the logic of psql. Could it make sense as a separate patch to shape better the tests? --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -307,6 +307,7 @@ describeTablespaces(const char *pattern, bool verbose) * a for aggregates * n for normal + * p for procedure This is a separate issue, fixed. -- Michael
В списке pgsql-hackers по дате отправления