Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAhyt-0005kr-Mm for pgsql-committers@arkaria.postgresql.org; Thu, 11 Oct 2018 20:54:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gAhyq-00011l-3U for pgsql-committers@arkaria.postgresql.org; Thu, 11 Oct 2018 20:54:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAhyp-00011e-Mw for pgsql-committers@lists.postgresql.org; Thu, 11 Oct 2018 20:54:47 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gAhyl-00060C-LU for pgsql-committers@lists.postgresql.org; Thu, 11 Oct 2018 20:54:46 +0000 Received: by mail-qt1-x841.google.com with SMTP id e10-v6so11550901qtq.12 for ; Thu, 11 Oct 2018 13:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ofbRUWNAl3MuMsG+OayaW8Jzl8jqv3SpIIrOjnMvFJo=; b=nHwpH/4Rror939xZ/6lSygHby6+TbZjubgcQ4NLizuR6VgCbYyCfUbowg6pEqX4q50 wlNTZM5CWAc1N5Iz38G9NdXQ4P4JTP3nZBWuoSBWlBOfeKuE1kHUNyBLfmLNFupft/1O /fVBh3+R4BMVSev7c9wblbJmM8+zpU4uePWGM1Y+kf0n+MqkpYrbjU5LrrCwf4lBGzHF YBwkmHrT+RQWID+WG6Uw7YNdMNXagaqf3PDwRqF+s9drjgyjHZkOBGGdyC6i3Go2yIZO TJZRtOfe+kOsRuSmLniX+8PLP4UdUyeQJahP10HiaiCm2AiAVABcVoNVn7Rw2Gq7LNK1 /Z9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ofbRUWNAl3MuMsG+OayaW8Jzl8jqv3SpIIrOjnMvFJo=; b=qLCwBGwosvEgixhe1EQw4Y4IDbx/0uvfy9uP29fcG+tXmASx/brrabalsfVlt5nx5o Z18T7WlY5EzRJA8iBCwJiqc5hfJfiCYnKAlk9Ja/We201dfT3tVdiT3ztHF3KDWGGgJ+ 7ijIx10EMisYMoYcfyaHVSBgr4+vjZAv7vCQPzwshNbd6Aqrr0guqBgHq73DdARjgDtW r0lbGpoREcflUB8CR2OP/4uee9CeuPhKrhxF65DIHCym+u0iWYDAZQrJCOrbbMLzyWUU 4qllilIfGpgqsAaQZx21Z0CAayBxitCOaEZ2Z6OFlcplPpkca+tNHECDoljVSvOx/SDN Lpow== X-Gm-Message-State: ABuFfogxXLt0QvfQbvV1t/1GJzRnWzZgDYcu2y+u3avonFECApY4LMm+ 3HEHVj03KUSCgaHw/PsJ/wuXo5GlvRi06pb2Az+mC056fX18vwJ3/ZFXzToduJFFky/RBWr35sD HtV+wZG23Vt+EVDc1Yv3pSGdHP/gq9rdjyCzsPHZerCVqDt6HZTa3bALgZNF6urPdZGehhpfRca QFlbxpP04SpAqbZgRjzLeEzHHh X-Google-Smtp-Source: ACcGV62585cBuWLv3Hk1NcC2CJVqXA5NhYdZzlURq13H1FV1ZgVl0vDJDNJs8GRejlWAqiCT1T0qaQ== X-Received: by 2002:ac8:38c6:: with SMTP id g6-v6mr3114048qtc.55.1539291282499; Thu, 11 Oct 2018 13:54:42 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id s90-v6sm18175377qks.80.2018.10.11.13.54.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 13:54:42 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Remove deprecated abstime, reltime, tinterval datatypes. To: Andres Freund , pgsql-committers@lists.postgresql.org References: Message-ID: <81685d0e-ed37-428a-2c39-362c524824e1@2ndQuadrant.com> Date: Thu, 11 Oct 2018 16:54:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/11/2018 03:02 PM, Andres Freund wrote: > Remove deprecated abstime, reltime, tinterval datatypes. > > These types have been deprecated for a *long* time. This has broken pg_upgrade from previous versions: pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 212; 1259 16891 TABLE abstime_tbl buildfarm pg_restore: [archiver (db)] could not execute query: ERROR:  type "abstime" does not exist LINE 14:     "f1" "abstime"                   ^     Command was: -- For binary upgrade, must preserve pg_type oid SELECT pg_catalog.binary_upgrade_set_next_pg_type_oid('16893'::pg_catalog.oid); -- For binary upgrade, must preserve pg_type array oid SELECT pg_catalog.binary_upgrade_set_next_array_pg_type_oid('16892'::pg_catalog.oid); -- For binary upgrade, must preserve pg_class oids SELECT pg_catalog.binary_upgrade_set_next_heap_pg_class_oid('16891'::pg_catalog.oid); CREATE TABLE "public"."abstime_tbl" (     "f1" "abstime" ); -- For binary upgrade, set heap's relfrozenxid and relminmxid UPDATE pg_catalog.pg_class SET relfrozenxid = '2643', relminmxid = '1' WHERE oid = '"public"."abstime_tbl"'::pg_catalog.regclass; cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services