Re: Add protransform for numeric, varbit, and temporal types - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add protransform for numeric, varbit, and temporal types
Date
Msg-id CA+TgmoY+Dk4bzn88GtYHRLY-s48c40_MSmdwD2ADH=LR4XqhuQ@mail.gmail.com
Whole thread Raw
In response to Re: Add protransform for numeric, varbit, and temporal types  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Add protransform for numeric, varbit, and temporal types  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Tue, Feb 7, 2012 at 12:43 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> I've committed the numeric and varbit patches and will look at the
> temporal one next.

Committed, after changing the OIDs so they don't conflict.

Here's one more case for you to ponder:

rhaas=# create table noah (i interval day);
CREATE TABLE
rhaas=# alter table noah alter column i set data type interval second(3);
DEBUG:  rewriting table "noah"
ALTER TABLE

Do we really need a rewrite in that case?  The code acts like the
interval range and precision are separate beasts, but is that really
true?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: 16-bit page checksums for 9.2
Next
From: Alvaro Herrera
Date:
Subject: Re: Vacuum rate limit in KBps