Is there any buil-in function to return the lesser of two numbers? i.e. lesser(100,125) would return 100.
Do I need to roll my own?
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
