oidCanBeCollatedString returns true if the given oid is can be a CollatedString.
(o oid.Oid)
| 971 | |
| 972 | // oidCanBeCollatedString returns true if the given oid is can be a CollatedString. |
| 973 | func oidCanBeCollatedString(o oid.Oid) bool { |
| 974 | switch o { |
| 975 | case oid.T_text, oid.T_varchar, oid.T_bpchar, oid.T_char, oid.T_name: |
| 976 | return true |
| 977 | } |
| 978 | return false |
| 979 | } |
| 980 | |
| 981 | // MakeCollatedString constructs a new instance of a CollatedStringFamily type |
| 982 | // that is collated according to the given locale. The new type is based upon |
no outgoing calls
no test coverage detected
searching dependent graphs…