Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOroB-00078s-Lr for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Feb 2023 03:04:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pOroA-0004qi-JD for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Feb 2023 03:04:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOroA-0004qT-BK for pgsql-bugs@lists.postgresql.org; Mon, 06 Feb 2023 03:04:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOro8-0000bG-9Q for pgsql-bugs@lists.postgresql.org; Mon, 06 Feb 2023 03:04:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 31634cNm2574193; Sun, 5 Feb 2023 22:04:38 -0500 From: Tom Lane To: Andrey Lizenko cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17772: small glitch with autocompletion on CREATE DATABASE In-reply-to: References: <17772-2e4a8cf89f86a1a5@postgresql.org> Comments: In-reply-to Andrey Lizenko message dated "Mon, 06 Feb 2023 03:41:55 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2574191.1675652678.1@sss.pgh.pa.us> Date: Sun, 05 Feb 2023 22:04:38 -0500 Message-ID: <2574192.1675652678@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrey Lizenko writes: >> postgres=# create database atestdb owner to >> 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