Re: [PATCH] Add tests for psql tab completion

2022-02-14 Thread Tom Lane
[ Please keep the mailing list cc'd ] Matheus Alcantara writes: > On Monday, February 14th, 2022 at 17:01, Tom Lane wrote: >> What exactly is the motivation for these particular tests? > I was studying the source code and looking for projects that I could > contribute so I decided > to start w

Re: [PATCH] Add tests for psql tab completion

2022-02-14 Thread Tom Lane
Matheus Alcantara writes: > I'm attaching a patch that add some new test cases for tab completion of psql. What exactly is the motivation for these particular tests? I believe that most of tab-complete.c is already covered, outside of the giant if-else chain at the heart of psql_completion(). It