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 1hEds3-0000e5-2m for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Apr 2019 17:52:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEds1-00082I-J0 for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Apr 2019 17:52:17 +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 1hEds1-00080D-4y for pgsql-hackers@lists.postgresql.org; Thu, 11 Apr 2019 17:52:17 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEdry-0003fB-78 for pgsql-hackers@postgresql.org; Thu, 11 Apr 2019 17:52:16 +0000 Received: by mail-wr1-x441.google.com with SMTP id g3so8479003wrx.9 for ; Thu, 11 Apr 2019 10:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=okQ9mbO/Zf1maCQhljqbKh5zlktqf567vIIdo14YwMs=; b=LtoDDKGTS9guxDIxw78s1pdDL5JQYn0Pcek2XkLXB8cnW1Iea1V3vCf9IUucTu9HAT B4KN8Ru88m84j4K/lOm3La6p9a2L5iE3iie4GwowJtNkYZfDNFRFGnmILMAKp2TKtBRt iRtTZ7aI0Xe1zqhNy58i6PXUyla9qtfLaW0bldxSPo0/bbnlfI+UDi8GZPiW6cP3LkOO 6ojRGbQ8uhfc2hGMMpyNg3neZkkCsbZLkH90YZem7yZyuZ06DVlJ64nKiBhQ7Mgi9HdB R+YYtB8lxAn1kzNSpvSO/LYmLBdu5Bf2SbhXYTok1E/0VtKltjJZ7jFzJSQfW+aVKX+6 MHmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=okQ9mbO/Zf1maCQhljqbKh5zlktqf567vIIdo14YwMs=; b=ZSO2S31ZwR3o8ETTvaPe6bUFw7CxgFjVRh/MZQ5fyKKrM43FsSVcm2HExb+nyqDQLL ZTdEGFXjdUxAo+3ogcxcgjEQULikJ4OO01oucpi/3uukr006ai0hv9urjbEjwXfZ9VPF 7bUhqBR3IFrRb4gnKAi057LBuzw8C4jGjaFXRhlqKRHLnpdmYTwg1UOO3gdEf948QELE eN6aJ7Fbfy5ld+xdQTsxf2I+FAeM6Q1s6Gleg3t4X9FfS645J3lGKg6Dpmhnzj/wKw4r Pg+qlT/6fAyorx7OSF3QemKc6GYkVNqJd7ADfKHzLyK2Z5FUaa5fLE3WNg0BMQcXnzHK 4nhA== X-Gm-Message-State: APjAAAXL5EXHxeGgVYQBv60+PmBGgxYsNorQQKa81ROP8Ci8giHPdu2O EGT5t3tHuDQSPTaNLYLAZpM3Lw== X-Google-Smtp-Source: APXvYqyeEXLsXOFlW3/kQO5ckW2iygKuVMtaHIp8sT47h58YvgBqnVK0bgpBTnJb5lK68vsp774rlw== X-Received: by 2002:adf:eb84:: with SMTP id t4mr5100988wrn.43.1555005133468; Thu, 11 Apr 2019 10:52:13 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id r30sm125023065wrr.46.2019.04.11.10.52.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Apr 2019 10:52:12 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 493EA120FBF; Thu, 11 Apr 2019 13:52:08 -0400 (-04) Date: Thu, 11 Apr 2019 13:52:08 -0400 From: Alvaro Herrera To: Tom Lane Cc: Andres Freund , "Inoue, Hiroshi" , pgsql-hackers@postgresql.org, Heikki Linnakangas , Michael Paquier , Hiroshi Inoue , pgsql-odbc@postgresql.org Subject: Re: setLastTid() and currtid() Message-ID: <20190411175208.GA21562@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <21495.1555003623@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-11, Tom Lane wrote: > Andres Freund writes: > > On 2019-03-27 10:01:08 +0900, Inoue, Hiroshi wrote: > >> The above code remains only for PG servers whose version < 8.2. > >> Please remove the code around setLastTid(). > > > Does anybody else have concerns about removing this interface? Does > > anybody think we should have a deprecation phase? Should we remove this > > in 12 or 13? > > 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? Umm ... I'm not sure I agree. We're in feature freeze, not code freeze, and while we're not expecting to have any new feature patches pushed, cleanup for features that did make the cut is still fair game. As I understand, this setLastTid stuff would cause trouble if used with a non-core table AM. Furthermore, if nothing uses it, what's the point of keeping it? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services