Tom Lane <tgl@xxxxxxxxxxxxx> writes: > My advice to the Rails people would be to fix whatever it is in their > code that is assuming a particular sequence name, or indeed assuming > a sequence at all... Well how else do you find the id of the last inserted record without assuming a sequence? -- greg ---------------------------(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