Comment 1 for bug 258265

Revision history for this message
Stein Magnus Jodal (jodal) wrote :

Originator: NO

Fixed in r4227:

Device Management:
* Aggregate functions like min() always returns a row, so one must check
if the
  value is NULL instead of checking for >0 rows. Somehow, the NULL value
in
  PostgreSQL translates to something not-None in Python, which has no
type,
  string representation but is True. This was solved by letting PSQL
decide if
  the returned value was true or not. (Closes: SF#1797010)