OSDN Git Service

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)
commit7df49cef7258d06a7db819d7b5025d131cc226a2
tree0e9f993563da2e977802ca70d7a069dc26b7e0b8
parent42be2c790f013fdd2df37e80eda35648b8016761
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