Re: [PATCH] Add hint for misspelled relations

2025-12-02 Thread Daniel Gustafsson
> On 2 Dec 2025, at 03:46, Steve Chavez wrote: > Currently misspelled columns offer a hint but not misspelled relations. The tab-completion in psql is one tool offered to avoid misspellings which reduce the need. > One problem is that scanning all pg_class entries can get expensive on big > ca

Re: [PATCH] Add hint for misspelled relations

2025-12-01 Thread Kirill Reshke
On Tue, 2 Dec 2025 at 07:46, Steve Chavez wrote: > > Hello hackers, > > Currently misspelled columns offer a hint but not misspelled relations. > > This patch enables that, the result is like: > > -- having this table > create table clients (id int); > -- we misspell the table name > select * from

[PATCH] Add hint for misspelled relations

2025-12-01 Thread Steve Chavez
Hello hackers, Currently misspelled columns offer a hint but not misspelled relations. This patch enables that, the result is like: -- having this table create table clients (id int); -- we misspell the table name select * from cliants; ERROR: relation "cliants" does not exist LINE 1: select *