Perhaps OID would be a good choice even though it's horribly wrong on one level.
Either that or add unsigned numeric types to PG :-)
I would rather see this as a contrib module.
I don't really have an opinion either way. Does anyone else have thoughts on this?
There has been *zero* consensus that we need this in core, nor any discussion about whether it might be a security hole.
ISTM if it can only be invoked by the superuser, it should be safe enough.
-Neil
---------------------------(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