From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Retroactively adding send and recv functions to a type?
Date: Tue, 20 Aug 2019 11:03:13 -0400
Message-ID: <16030.1566313393@sss.pgh.pa.us> (raw)
In-Reply-To: <20190820143614.GP16436@tamriel.snowman.net>
References: <CAA_SOw97LHiS+iqLkXKJ4Sqjc1bagKxQT11R=e=HS460sZ3hYw@mail.gmail.com>
<CAA_SOw954VvMGi8bt3P5C7FN37Jj=SRxnBjxjPcTZGG8KN_KkQ@mail.gmail.com>
<23029.1566235939@sss.pgh.pa.us>
<64b6e379-a234-e515-59f9-db025a848831@2ndquadrant.com>
<20190820143614.GP16436@tamriel.snowman.net>
Stephen Frost <sfrost@snowman.net> writes:
> * Vik Fearing (vik.fearing@2ndquadrant.com) wrote:
>> We generally discourage updating the catalogs directly. This was why I
>> wrote the CREATE/ALTER DATABASE patch in 2014 that you helped me with
>> (fbb1d7d73f8).
>> I'm willing to work on a patch for ALTER TYPE if it has a chance of
>> being accepted.
> Seems pretty clear that it'd be a useful thing to have, so +1 from me,
> at least.
We'd have to be extremely circumspect about what aspects of a base
type could be altered after-the-fact. Adding binary I/O functions
seems unproblematic, but I'm not very sure what else is.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, vik.fearing@2ndquadrant.com, johann@myrkraverk.com
Subject: Re: Retroactively adding send and recv functions to a type?
In-Reply-To: <16030.1566313393@sss.pgh.pa.us>
References: <CAA_SOw97LHiS+iqLkXKJ4Sqjc1bagKxQT11R=e=HS460sZ3hYw@mail.gmail.com> <CAA_SOw954VvMGi8bt3P5C7FN37Jj=SRxnBjxjPcTZGG8KN_KkQ@mail.gmail.com> <23029.1566235939@sss.pgh.pa.us> <64b6e379-a234-e515-59f9-db025a848831@2ndquadrant.com> <20190820143614.GP16436@tamriel.snowman.net> <16030.1566313393@sss.pgh.pa.us>
* 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