Re: ALTER COLUMN, trading a DOMAIN for its base datatype

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: C GG <cgg0007(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ALTER COLUMN, trading a DOMAIN for its base datatype
Date: 2017-07-19 20:28:34
Message-ID: 31285.1500496114@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

C GG <cgg0007(at)gmail(dot)com> writes:
> ... Is PostgreSQL smart enough to not have to rewrite the table and simply
> shed the domain for the underlying datatype?

Yes, in recent versions ... don't remember how far back exactly.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Evan Martin 2017-07-19 20:43:03 Why would log_lock_waits affect a query plan?
Previous Message C GG 2017-07-19 20:17:37 ALTER COLUMN, trading a DOMAIN for its base datatype