Re: [pgsql-advocacy] Avoiding upgrade backlash - Mailing list pgsql-docs

From Josh Berkus
Subject Re: [pgsql-advocacy] Avoiding upgrade backlash
Date
Msg-id 200711162107.17437.josh@agliodbs.com
Whole thread Raw
In response to Re: [pgsql-advocacy] Avoiding upgrade backlash  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [pgsql-advocacy] Avoiding upgrade backlash
List pgsql-docs
Bruce,

>     CHAR and VARCHAR still cast to TEXT automatically. Concatenation (||)
>     with non-TEXT types is still automatically cast, assuming one of the
>     parameters is textual. While this change will require additional casts
>     for some queries, it also eliminates some unusual behavior.
>
> Hope it isn't too detailed.

Hmmm.  I don't feel like it contains a clear warning, though.  We need a
statement like:

Some users may encounter issues upgrading due to the changes in handling
data type casts.  If you suspect that your schema or application may not
be handling data type comparisons cleanly, you are strongly urged to test
for casting error messages before upgrading your production server.

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: High Availability, Load Balancing, and Replication Feature Matrix
Next
From: Tom Lane
Date:
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash