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 1kkYFv-0002nh-U7 for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Dec 2020 19:57:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkYFu-00052z-Mv for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Dec 2020 19:57:38 +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 1kkYFt-00052s-WA for pgsql-hackers@lists.postgresql.org; Wed, 02 Dec 2020 19:57:38 +0000 Received: from xvm-110-146.dc2.ghst.net ([46.226.110.146] helo=fetter.org) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkYFr-0004k9-M5 for pgsql-hackers@postgresql.org; Wed, 02 Dec 2020 19:57:37 +0000 Received: by fetter.org (Postfix, from userid 1001) id ADEC441BAC; Wed, 2 Dec 2020 20:57:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fetter.org; s=default; t=1606939053; bh=T1p70mjv5X5psTxRbouhK7qhpbmIHODovjb51oe+z08=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XpbpT/THBh+4TEkWWiczoUsNNsmgojLs9cb+S6nLsynTJ1fK1wPI8qKwk9oEJRsHm DZ+Hh+kH1Q2cjcuZKVmMQ2KK03RY+mvZ4/J9RxWej7JGJBPRXzaQW8LYC2DqrGUJMw Z5vHGm0XnxEvk50PLo3SQ9+d0RWZmx67v6+nqmaZBMR3sR4k59bFJdU+FJDAX6M/33 cY3+JLi/NlMGLLGD0fqExyX0LecE5utXgnS8JyMjVXdkOobR8Bzpl/+A4kdBu2gJIA +iyt4aglZTdb5EiX9o2Xol3RclmB/EIvGtg+kVqdK0p/0rhVrThOkk33e0vVO0JFUH sGXPep2dgm3fQ== Date: Wed, 2 Dec 2020 20:57:33 +0100 From: David Fetter To: Stephen Frost Cc: Peter Eisentraut , pgsql-hackers Subject: Re: SELECT INTO deprecation Message-ID: <20201202195733.GE9795@fetter.org> References: <96dc0df3-e13a-a85d-d045-d6e2c85218da@enterprisedb.com> <20201202175836.GX16415@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201202175836.GX16415@tamriel.snowman.net> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Dec 02, 2020 at 12:58:36PM -0500, Stephen Frost wrote: > Greetings, > > * Peter Eisentraut (peter.eisentraut@enterprisedb.com) wrote: > > While reading about deprecating and removing various things in > > other threads, I was wondering about how deprecated SELECT INTO > > is. There are various source code comments about this, but the > > SELECT INTO reference page only contains soft language like > > "recommended". I'm proposing the attached patch to stick a more > > explicit deprecation notice right at the top. > > I don't see much value in this. Users already have 5 years to adapt > their code to new major versions of PG and that strikes me as plenty > enough time and is why we support multiple major versions of PG for > so long. Users who keep pace and update for each major version > aren't likely to have issue making this change since they're already > used to regularly updating their code for new major versions, while > others are going to complain no matter when we remove it and will > ignore any deprecation notices we put out there, so there isn't much > point in them. +1 for removing it entirely and including this prominently in the release notes. Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate