Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: >> ... you can use code comparable to define.c's defGetInt64() >> to convert the Value node into a numeric OID, ie, either do intVal() or >> a call of oidin().
> I thought the whole problem here is that OIDs are unsigned ints, hence > intVal() won't allow the highest OIDs? Exactly. That's why you need to handle T_Float too. See the int8 example, which has just the same problem. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match