* getBaseType * If the given type is a domain, return its base type; * otherwise return the type's own OID. */
| 3119 | * otherwise return the type's own OID. |
| 3120 | */ |
| 3121 | Oid |
| 3122 | getBaseType(Oid typid) |
| 3123 | { |
| 3124 | int32 typmod = -1; |
| 3125 | |
| 3126 | return getBaseTypeAndTypmod(typid, &typmod); |
| 3127 | } |
| 3128 | |
| 3129 | /* |
| 3130 | * getBaseTypeAndTypmod |
no test coverage detected