/* * call-seq: * lrg.oid() * * Returns the large object's +oid+. */ static VALUE pglarge_oid(obj) VALUE obj; { PGlarge *pglarge = get_pglarge(obj); return INT2NUM(pglarge->lo_oid); }