Re: BUG #17772: small glitch with autocompletion on CREATE DATABASE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrey Lizenko <lizenko79(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17772: small glitch with autocompletion on CREATE DATABASE
Date: 2023-02-06 03:04:38
Message-ID: 2574192.1675652678@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrey Lizenko <lizenko79(at)gmail(dot)com> writes:
>> postgres=# create database atestdb owner to
>> <Pressing TAB here, nothing happens, roles list expected>

AFAICS in tab-complete.c, there's no attempt to cover this case,
so this isn't a bug but an unimplemented feature. Send a patch
if it bothers you enough.

(BTW, "TO" is not part of this syntax according to the docs.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ldh@laurent-hasson.com 2023-02-06 04:26:11 RE: Behavior of pg_catalog dependent on search_path: expected or bug?
Previous Message Andrey Lizenko 2023-02-06 02:41:55 Re: BUG #17772: small glitch with autocompletion on CREATE DATABASE