unapi - restore PostgreSQL 9.0 compatibility user/dbs/unapi_improve_limit
authorDan Scott <dan@coffeecode.net>
Thu, 15 Mar 2012 04:28:21 +0000 (00:28 -0400)
committerDan Scott <dan@coffeecode.net>
Thu, 15 Mar 2012 04:34:33 +0000 (00:34 -0400)
commitaab526da2bde76885e6e1064978d599d62a9d417
tree1ada610e85f4ca061c25e0f4918b1495601d27e7
parent4b452613951a2655077dcdf205acdc51677c00f8
unapi - restore PostgreSQL 9.0 compatibility

By leaving the age_protect attribute off of the list of GROUP BY fields,
I broke compatibility with PostgreSQL 9.0 (which is more strict than
9.1 about such things - a rare case where PostgreSQL gets less strict as
the version number increases!).

Thanks to Ben Shum and Jason Stephenson for flagging this issue during
their testing and suggesting the fix.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.unapi_limit_rank.sql