On Wednesday 12 September 2007 09:34:55 Richard Huxton wrote: > To be honest, I'd probably just have a separate column "uid_type", set > it when creating the user and then just have a partial index WHERE > uid_type='IP' Or have a separate column with the user ID and have "(anonymous)" when you have the IP address on the table (maybe even NULL, it all depends on what you want). -- Jorge Godoy <jgodoy@xxxxxxxxx> ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster