pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Replication vs. float timestamps is a disaster
Date: Wed, 22 Feb 2017 10:27:00 -0500
Message-ID: <f733bd4c-fd12-29c1-83c0-1c8073bd970b@2ndQuadrant.com> (raw )
In-Reply-To: <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com >
References: <CA+TgmoafyUzmg8T-rKEgmkX7F1iQLSrKBmqKa26EattXpMS-ng@mail.gmail.com >
<1691.1487519369@sss.pgh.pa.us >
<20170220070311.gscn7ppqbwlgdpjq@alap3.anarazel.de >
<3bd3c551-8b23-45c8-27a2-97b5a922b130@2ndquadrant.com >
<20170220110456.2jupmfhxlizykmmc@alap3.anarazel.de >
<fece0003-6ede-ca8b-8f26-3c6fa899583d@BlueTreble.com >
<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 >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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
view thread (33+ messages) latest in thread
Message-ID: <f733bd4c-fd12-29c1-83c0-1c8073bd970b@2ndQuadrant.com>
Permalink: ../f733bd4c-fd12-29c1-83c0-1c8073bd970b@2ndQuadrant.com/
Also on: postgresql.org/message-id/f733bd4c-fd12-29c1-83c0-1c8073bd970b@2ndQuadrant.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: andrew.dunstan@2ndquadrant.com, Jim.Nasby@BlueTreble.com, andres@anarazel.de, tgl@sss.pgh.pa.us, petr.jelinek@2ndquadrant.com, robertmhaas@gmail.com
Subject: Re: Replication vs. float timestamps is a disaster
In-Reply-To: <f733bd4c-fd12-29c1-83c0-1c8073bd970b@2ndQuadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox