UserDefinedArrayOID returns the OID of the array type that corresponds to this user defined type. This function only can only be called on user defined types and returns non-zero data only for user defined types that aren't arrays.
()
| 1215 | // defined types and returns non-zero data only for user defined types that |
| 1216 | // aren't arrays. |
| 1217 | func (t *T) UserDefinedArrayOID() oid.Oid { |
| 1218 | if t.InternalType.UDTMetadata == nil { |
| 1219 | return 0 |
| 1220 | } |
| 1221 | return t.InternalType.UDTMetadata.ArrayTypeOID |
| 1222 | } |
| 1223 | |
| 1224 | // RemapUserDefinedTypeOIDs is used to remap OIDs stored within a types.T |
| 1225 | // that is a user defined type. The newArrayOID argument is ignored if the |