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.
()
| 1524 | // defined types and returns non-zero data only for user defined types that |
| 1525 | // aren't arrays. |
| 1526 | func (t *T) UserDefinedArrayOID() oid.Oid { |
| 1527 | if t.InternalType.UDTMetadata == nil { |
| 1528 | return 0 |
| 1529 | } |
| 1530 | return t.InternalType.UDTMetadata.ArrayTypeOID |
| 1531 | } |
| 1532 | |
| 1533 | // RemapUserDefinedTypeOIDs is used to remap OIDs stored within a types.T |
| 1534 | // that is a user defined type. The newArrayOID argument is ignored if the |