Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd1uu-0000il-Br for pgsql-general@arkaria.postgresql.org; Tue, 18 Jun 2019 00:24:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hd1tt-0004HW-Gz for pgsql-general@arkaria.postgresql.org; Tue, 18 Jun 2019 00:23:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd1tr-0004HP-RW for pgsql-general@lists.postgresql.org; Tue, 18 Jun 2019 00:23:01 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd1to-0003Gc-DV for pgsql-general@postgresql.org; Tue, 18 Jun 2019 00:22:58 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0309E220B8; Mon, 17 Jun 2019 20:22:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 17 Jun 2019 20:22:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=8 aB/O7bxkYVQs3hX8SkQSiCt3MYGQVIGOhX+ErF9Piw=; b=ceOAPtq/5u7wXCokL JWzY7PKpGfYnsnIhxEaGdDAj40ZN7W1NYiH+MQ+5v92qYx8Fdvoqt2fmdnOoLxnT IkpgEgKesXxFiNUjxhY3Tlu4jGnEBBzfx3dkxGUqrh8eBZ6szb/c5CfNYbEK0ofv eH9e1uriXYF1B0EGRpg5TEej8dvBwv/bR3NmTWF1E1dp8E/FELZr9G+WQyMGv7be GfSCG9HDAb1dfr8gWoeuN9ISq1R08lGRmN1N7dAddpCeMy6FjhxfJ4vgt+VDNcaw AZsPH6d/9QEFIqCBw4Yg+sHvmyGEDaXI5gB114exU5BpkCQRRBztuaIJW4PO3HwN 7Bobw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=8aB/O7bxkYVQs3hX8SkQSiCt3MYGQVIGOhX+ErF9P iw=; b=kKKQwFJPynYv9gNVZZhMSR/pgnlqrME/QHllYD//5WML74GD1E1OmNPCw 4sqC08F+e7cG2ipZwBJclu4DXp1aR6g8DJ+HYHW02XU16cTLqYo7+Sj7UpbxwshH FzbaL0VS7RsNrJhLbhm+xpzRxyCtl4hwy+UX3DMcbzswdEHSjgXR5tGg1HcMyD8n eCYEdhcbAImnuX65PNiIRWkpQ7rI0v40w8cUFX/ZOYxOihIFLV/tVYp3dtx0tpg5 sCDs0JX/c/K4TRpZrIrmilkhydEFINTsAvjLog/AoWvwgAUfVeQ4cVmyF0MSR1Km 3M3Np0Lj/tRkigTIMtZGNOD5/ieTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeikedgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejuddrvddu vddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 0129680064; Mon, 17 Jun 2019 20:22:53 -0400 (EDT) Subject: Re: psql UPDATE field [tab] expands to DEFAULT? To: Ken Tanzer Cc: PG-General Mailing List References: From: Adrian Klaver Message-ID: Date: Mon, 17 Jun 2019 17:22:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 6/17/19 4:33 PM, Ken Tanzer wrote: > On Mon, Jun 17, 2019 at 4:24 PM Adrian Klaver > wrote: > > On 6/17/19 3:03 PM, Ken Tanzer wrote: > > > > So I'm curious if this is intended behavior, if it's considered > useful, > > and/or if it's a placeholder for something in the future that > will be > > useful.  Also, is this new, as I've never noticed it before? > > Not sure how long that has been around. > > My cheat for dealing with many/long column names is: > > > Thanks Adrian, though I wasn't really seeking tips for column names.  I > was instead trying to understand whether this particular tab expansion > was intentional and considered useful, and if so what that usefulness If I am following the below correctly it is intentional: https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/bin/psql/tab-complete.c;h=68a2ba27aec22302625c5481a8f74cf866f4dc23;hb=d22ca701a39dfd03cdfa1ca238370d34f4bc4ac4 Line 2888 Useful, that is in the eye of the beholder:) > was, because it's rather escaping me! > > Cheers, > Ken > > -- Adrian Klaver adrian.klaver@aklaver.com