> > 2. Since int4 and abstime are binary compatible (ie
> int4::abstime works), is
> > there any serious problem with updating a pg_attribute row for
> an int4 and
> > changing it to and abstime?  My experiments seem to work.
>
> A few integer values are reserved values in abstime, to allow
> implementation of infinity, -infinity, etc.

Does this mean that hacking the type of an int4 column to become abstime is
a bad idea?

Yes in theory - no in practice?

Chris


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to