Re: Is the subtype_diff function in CREATE TYPE only can be C function?

2024-01-11 Thread ddme
> 2024年1月10日 18:04,Ashutosh Bapat 写道: > > On Wed, Jan 10, 2024 at 1:49 PM ddme <mailto:ret2d...@qq.com>> wrote: >> >> Hi all, >> >> I notice that the CREATE TYPE syntax can specify subtype_diff function >> >> CREATE TYPE name AS RAN

Is the subtype_diff function in CREATE TYPE only can be C function?

2024-01-10 Thread ddme
Hi all, I notice that the CREATE TYPE syntax can specify subtype_diff function CREATE TYPE name AS RANGE ( SUBTYPE = subtype [ , SUBTYPE_OPCLASS = subtype_operator_class ] [ , COLLATION = collation ] [ , CANONICAL = canonical_function ] [ , SUBTYPE_DIFF = subtype_diff_function