2007/8/11, Gregory Stark <stark@xxxxxxxxxxxxxxxx>: > > Sorry, I reread your original post. My initial reading was wrong. > > To make this work I think you'll need to set these constraints to be deferred. > > -- it works with deferred constraints . It's strange, it works with two columns but dowsn't work with three columns (without deferred c.). Pavel ---------------------------(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