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 1hEe5p-0001HJ-UM for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Apr 2019 18:06:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEe5o-0000ax-O6 for pgsql-odbc@arkaria.postgresql.org; Thu, 11 Apr 2019 18:06:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEe5o-0000am-Gm; Thu, 11 Apr 2019 18:06:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEe5m-00041D-3J; Thu, 11 Apr 2019 18:06:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3BI6DrA023189; Thu, 11 Apr 2019 14:06:13 -0400 From: Tom Lane To: Andres Freund cc: "Inoue, Hiroshi" , pgsql-hackers@postgresql.org, Heikki Linnakangas , Michael Paquier , Hiroshi Inoue , pgsql-odbc@postgresql.org Subject: Re: setLastTid() and currtid() In-reply-to: <20190411175220.pktsk4zyjyjpfibk@alap3.anarazel.de> References: <20190326004442.l2jq43inhakuruzn@alap3.anarazel.de> <17ef5a8a-71cb-5cbf-1762-dbb71626f84e@dream.email.ne.jp> <20190411165214.5jvyldjgdlsxz2ax@alap3.anarazel.de> <21495.1555003623@sss.pgh.pa.us> <20190411175220.pktsk4zyjyjpfibk@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 11 Apr 2019 10:52:20 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23187.1555005973.1@sss.pgh.pa.us> Date: Thu, 11 Apr 2019 14:06:13 -0400 Message-ID: <23188.1555005973@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-04-11 13:27:03 -0400, Tom Lane wrote: >> I think removing it after feature freeze is not something to do, >> but +1 for nuking it as soon as the v13 branch opens. Unless >> there's some important reason we need it to be gone in v12? > No, I don't think there really is. They're bogus and possibly a bit > dangerous, but that's not really new. > I was mostly just reminded of this when Heikki asked me to improve the > documentation for heap_get_latest_tid/table_get_latest_tid() - and I was > briefly wondering whether we could just nuke the whole functionality. > But it's still used in nodeTidscan.c: Yeah, if we could simplify the tableam API, that would be sufficient reason to remove the stuff in v12, IMO. But if it is outside of that API, I'd counsel waiting till v13. regards, tom lane