Just trying to clean up alot of old code, and came across this:
acctng=> select max(start_time) from radhist where userid='billchuck';
max
---
(1 row)
acctng=> select * from radhist where userid='billchuck';
uniq_id|term_server|userid|ip_addr|port|start_time|stop_time|slipl
-------+-----------+------+-------+----+----------+---------+-----
(0 rows)
acctng=>
IMHO, the first select should return 0 rows, not 1, if no values are
found...no?
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org