Flip the default typispreferred setting from true to false. This affects
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jul 2008 19:35:13 +0000 (19:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Jul 2008 19:35:13 +0000 (19:35 +0000)
commit5d039708d0f72bb007fbf30ba1a2576317e15842
treeac5a50c132181ef5e4ce2bc2cb33f9ddf1a16438
parent8eb202bc83d9d6e00ab20670f30d02623e942c6d
Flip the default typispreferred setting from true to false.  This affects
only type categories in which the previous coding made *every* type
preferred; so there is no change in effective behavior, because the function
resolution rules only do something different when faced with a choice
between preferred and non-preferred types in the same category.  It just
seems safer and less surprising to have CREATE TYPE default to non-preferred
status ...
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/typeconv.sgml
src/backend/catalog/heap.c
src/backend/commands/typecmds.c
src/bin/pg_dump/pg_dump.c
src/include/catalog/catversion.h
src/include/catalog/pg_type.h
src/test/regress/expected/create_type.out
src/test/regress/sql/create_type.sql