"David Sanchez i Gregori" <[EMAIL PROTECTED]> writes: > select * from( > select min("ID") as nid from "Seguretat"."Usuarios" as j > where not exists > ( select 1 from "Seguretat"."Usuarios" as k where k."ID"=j."ID") > ) as b
Confirmed here, as far back as 8.1. It sort of looks like the indexes-for-min-and-max patch has confused the older code for Param assignment. I'm surprised this wasn't reported earlier... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org