pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: 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 09:21:18 -0600
Message-ID: <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com> (raw )
In-Reply-To: <20170222151230.zy7q7qmfah22lcxt@alap3.anarazel.de >
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 >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)
--
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: <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com>
Permalink: ../8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.com/
Also on: postgresql.org/message-id/8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.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: 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: <8ac3b446-00e0-2813-e67a-0498fac0f9b0@BlueTreble.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