Bug #7282
the aggregate function max(boolean) does not exist on postgres, only sqlite
Start date:
19 May 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
I'm looking at creating my own aggregate function1 and adding it using a conditional migration.
[1]: http://www.postgresql.org/message-id/m3pstupmog.fsf@mobile.int.cbbrowne.com
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
Possible fix:
create or replace function bor (boolean, boolean) returns boolean as $body$ select $1 or $2; $body$ language sql; create aggregate max(boolean) ( sfunc=bor, stype=boolean, initcond=false, );
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|58ed623277bb13ee59f68d5574f6d53f7e38ae38.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
django_rbac: the aggregate function max(boolean) does not exist on postgres, only sqlite
fixes #7282