hewei <[EMAIL PROTECTED]> writes: > id numeric(5,0) NOT NULL,
Don't use NUMERIC where INTEGER would do ...
regards, tom lane
---------------------------(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
