Eli Green wrote: > This makes it impossible to know column information for both sides of > a foreign key.
I think the information you want is in KEY_COLUMN_USAGE. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(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