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

[PATCH] Add tests for psql tab completion

2022-02-12 Thread Matheus Alcantara
Hi hackers. I'm attaching a patch that add some new test cases for tab completion of psql. This is my first patch that I'm sending here so let me know if I'm doing something wrong. -- Matheus AlcantaraFrom 6af6b972960f4e9017f1c311ee4b13a96d5f66a1 Mon Sep 17 00:00:00 2001 From: Matheus Alcantara