List of "binary-compatible" data types

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: List of "binary-compatible" data types
Date: 2013-11-04 21:58:34
Message-ID: 5278188A.1020508@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Folks,

From our docs:

"Adding a column with a non-null default or changing the type of an
existing column will require the entire table and indexes to be
rewritten. As an exception, if the USING clause does not change the
column contents and the old type is either binary coercible to the new
type or an unconstrained domain over the new type, a table rewrite is
not needed ..."

Which is nice, but nowhere do we present users with a set of
binary-compatible data types, even among the built-in types. I'd
happily write this up, if I knew what the binary-compatible data types
*were*.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Freire 2013-11-04 23:22:26 Re: Fast insertion indexes: why no developments
Previous Message Alexander Korotkov 2013-11-04 21:44:57 Re: GIN improvements part 1: additional information