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 1oNvgn-0001U7-Gy for pgsql-general@arkaria.postgresql.org; Tue, 16 Aug 2022 12:28:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oNvgm-0002nq-DW for pgsql-general@arkaria.postgresql.org; Tue, 16 Aug 2022 12:28:56 +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 1oNvgm-0002nb-0K for pgsql-general@lists.postgresql.org; Tue, 16 Aug 2022 12:28:56 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNvgj-00012o-9t for pgsql-general@postgresql.org; Tue, 16 Aug 2022 12:28:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=Content-Type:MIME-Version:Reply-To:Message-ID:Subject:To: Sender:From:Date:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DXJ2NBH5hGKEjyTW1DfaZ9hA3ujdmsJH9zp5SqCKTBE=; b=px3vABqYO0gK0zfGKwies7KFre zEE4ZMtIeO63sEhIXL4MLI/GOJ8jr7IYrogsiMXj5W4iGU54Y3Rcd5aUKW2YgQpXhNcplGHIWvmHD OK37tXuoZqoIrEKuSqmN7MhGoi/y4q1oHxpjuCJ6z9xV71+JJjSQq4I7Hte7N4rstOFs=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1oNvgf-0001v0-PH for pgsql-general@postgresql.org; Tue, 16 Aug 2022 14:28:49 +0200 Date: Tue, 16 Aug 2022 14:28:49 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: pgsql-general mailing list Subject: Would it be possible to add functions to tab-completion in psql? Message-ID: <20220816122849.GC24417@depesz.com> Reply-To: depesz@depesz.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, As a dba I have to, very often, query system functions, starting with pg_last_xact_replay_timestamp and pg_current_wal_lsn. Would it be possible/hard/expensive, to change tab-completion so that: select pg_ would work? Best regards, depesz