Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgYqJ-0000MO-1u for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2017 15:28:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cgYqI-0002aS-Ku for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Feb 2017 15:28:34 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cgYos-0000zB-PE for pgsql-hackers@postgresql.org; Wed, 22 Feb 2017 15:27:06 +0000 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cgYop-00052K-Ta for pgsql-hackers@postgresql.org; Wed, 22 Feb 2017 15:27:06 +0000 Received: by mail-qt0-x230.google.com with SMTP id k15so5186608qtg.3 for ; Wed, 22 Feb 2017 07:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=5lO0IFs9JWRSdxkHECG/L6+blrti8dongcKqyK15bls=; b=gZ4EZPIo4sa/LgYMYt9nYlxCaAXDgEr5lA+SGlGyiZxUSPOQBLA4QIoseUuU474Ot/ yZypbb4XyHWkTMvoGV5M+Psn4kHsfSzFDuFvJtybAPlOLUc0tmES3w5iSdblNje9iZp0 iDr6mAXVeI2sGKBOErF5mJBIjtA4MVxsTlYrd6aVENqCDIt6MIcIDpnaGw4tMl0Y25mj wXyUEunkeQ0CygggRwpTFrjADEVYq7cKpzoWWLfHjkDv19EyguxPIM1g3M/ZJVov7brw HgjU0FbeO30uU0qE9IB20xEVSBlJvj79Kxt8nq70E7/fC7mEfvU5An3pzpN1AkLZf058 fjIw== 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:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5lO0IFs9JWRSdxkHECG/L6+blrti8dongcKqyK15bls=; b=r2cjVahAKOpEmuMr0SlzmHLVRSPXo3Ph5ZPdNNZN1FII8RkzPn3WushywyMZu8mjqu a/ZZ1BBh1E2pk9HU6fUtnYKQVd22cqfEEHg8Gj34AP8cDF5yFIyjumTGYqtTHG/DEBMg cz4+QjQdwbzuR8UO4AcgHPSBxQGao8lPHSS5qzeBdtYzr5dbWyzWW9GJi9phoPcM1G6k HcRpA3VSEViQVRhcbjAWkkbyv9f5bjp3uKncFwEn1rrcf79yNBkC5NgAT7I0T4E9FHqn 4CNptqmUL0UtZemSD2c7v33qhhZiMzBoM/p7NX7ntD8GrpmpbQDkJngP/ZJJW1C7ad6C Ti8w== X-Gm-Message-State: AMke39mODeiNk54NoTnI0qV7A8ehSLBlfkFUMH+eBzFSlfahZj8BV2dgryef0r+StVIrEe/HGq4HBZd0ZeySKxBltMqwAepU2APJfrtEN9svEct3rCyWVWg7GqeiCCukr9IdHRKRJF4JDN1nBHdOmgc30G24HlKIz/8YJuUTEqjJMuZ/rgmxyuDN1kEH+J1oLF3ifgBA2IkxoIo= X-Received: by 10.200.55.115 with SMTP id p48mr29480635qtb.209.1487777222302; Wed, 22 Feb 2017 07:27:02 -0800 (PST) Received: from [192.168.10.146] ([98.122.164.227]) by smtp.gmail.com with ESMTPSA id v2sm852162qte.61.2017.02.22.07.27.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2017 07:27:01 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: Replication vs. float timestamps is a disaster To: Jim Nasby , Andres Freund References: <1691.1487519369@sss.pgh.pa.us> <20170220070311.gscn7ppqbwlgdpjq@alap3.anarazel.de> <3bd3c551-8b23-45c8-27a2-97b5a922b130@2ndquadrant.com> <20170220110456.2jupmfhxlizykmmc@alap3.anarazel.de> <20170222075345.mbzrmdaetdqfgitk@alap3.anarazel.de> <21041.1487771008@sss.pgh.pa.us> <20170222135634.gnlqu6by2xbpvwii@alap3.anarazel.de> <49985f09-7498-9a84-008b-638cbaebb044@BlueTreble.com> <20170222151230.zy7q7qmfah22lcxt@alap3.anarazel.de> <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com> Cc: Tom Lane , Petr Jelinek , Robert Haas , "pgsql-hackers@postgresql.org" Message-ID: Date: Wed, 22 Feb 2017 10:27:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 02/22/2017 10:21 AM, Jim Nasby wrote: > On 2/22/17 9:12 AM, Andres Freund wrote: >>> That would allow an in-place upgrade of >>> a really large cluster. A user would still need to modify their code >>> to use >>> the new type. >>> >>> Put another way: add ability for pg_upgrade to change the type of a >>> field. >>> There might be other uses for that as well. >> Type oids are unfortunately embedded into composite and array type data >> - we can do such changes for columns themselves, but it doesn't work if >> there's any array/composite members containing the to-be-changed type >> that are used as columns. > > Only in the catalog though, not the datums, right? I would think you > could just change the oid in the catalog the same as you would for a > table column. No, in the datums. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers