Project

General

Profile

« Previous | Next » 

Revision 12671

schemas/util.sql: mk_keys_func(regtype, util.col_cast[]): indicate in the type comment that the keys() type is autogenerated, so it can be distinguished from custom keys() types when bulk-regenerating keys() types

View differences:

trunk/schemas/util.sql
2225 2225
SELECT util.create_if_not_exists($$
2226 2226
CREATE TYPE $$||util.prefixed_name($3||'_', $1)||$$ AS
2227 2227
($$||util.mk_typed_cols_list($2)||$$);
2228
COMMENT ON TYPE $$||util.prefixed_name($3||'_', $1)||$$ IS '
2229
autogenerated
2230
';
2228 2231
$$);
2229 2232

  
2230 2233
SELECT util.mk_keys_func($1, util.prefixed_name($3||'_', $1)::regtype, $3);

Also available in: Unified diff