Re: 7.0 release notes should call out incompatible changes more clearly - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: 7.0 release notes should call out incompatible changes more clearly
Date
Msg-id 200004022140.RAA13324@candle.pha.pa.us
Whole thread Raw
In response to 7.0 release notes should call out incompatible changes more clearly  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 7.0 release notes should call out incompatible changes more clearly  (Benjamin Adida <ben@mit.edu>)
List pgsql-hackers
These are all pretty obscure.  How do I make them prominent without
really scaring people who don't even know what they are?

> I am aware of at least three non-backward-compatible changes in 7.0,
> ie, things that will break existing applications in perhaps non-obvious
> ways.  I think the "Release Notes" document ought to call these out in a
> separate section, rather than expecting people to examine the detailed
> change list and intuit what those brief entries mean to them.
> 
> The three I can think of are:
> 
> 1. If a GROUP BY item matches both an input column name and a
> select-list label ("AS" name), 7.0 assumes the input column is meant.
> This is compliant with the SQL92 spec.  Unfortunately older versions
> made the opposite choice.
> 
> 2. SELECT DISTINCT ON syntax has changed --- now need parentheses
> around the item being DISTINCT'ed.
> 
> 3. User-defined operator names can't end in "+" or "-" unless they
> also contain ~ ! @ # % ^ & | ` ? $ or :
> 
> Any others?
> 
>             regards, tom lane
> 


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Call for porting reports
Next
From: Benjamin Adida
Date:
Subject: Re: 7.0 release notes should call out incompatible changes more clearly