> On 17 September 2017 at 23:34, Arthur Zakirov <a.zaki...@postgrespro.ru> wrote: > > I have put some thought into it. What about the following syntax? > > CREATE SUBSCRIPTING FOR type_name > INITFUNC = subscripting_init_func > FETCHFUNC = subscripting_fetch_func > ASSIGNFUNC = subscripting_assign_func > DROP SUBSCRIPTING FOR type_name
Just to clarify, do you mean that `CREATE SUBSCRIPTING FOR` would only make a dependency record? In this case `DROP SUBSCRIPTING FOR` actually means just drop an init function.