unapi - restore PostgreSQL 9.0 compatibility
authorDan Scott <dan@coffeecode.net>
Thu, 15 Mar 2012 04:28:21 +0000 (00:28 -0400)
committerDan Scott <dan@coffeecode.net>
Sat, 17 Mar 2012 18:24:39 +0000 (14:24 -0400)
commite62fbbe9f5ced0e712eadb5b7061f512e8677ddf
tree4a888a61503eea6dff58f79fc100dbff3ee8e6d1
parentb2baa8ee045cc2bf10345ab7c8f068708126103e
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