pg_lsn should not be marked typispreferred.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2014 04:26:46 +0000 (00:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 May 2014 04:26:46 +0000 (00:26 -0400)
commitec3357a3bc37d9108b2cf2db96499f83f1a93df1
treed3cc1d1bdba98e2551f0c28c70f657ca0d439288
parent8600031147cee7845e1ad9e64304e1f5fe585515
pg_lsn should not be marked typispreferred.

In general it's not a good idea for built-in types in the 'U' category
to be marked preferred; they could draw behavior away from user-defined
types with similarly-named operators.  pg_lsn is probably at low risk
of that right now given the lack of casts between it and other types,
but that doesn't make this marking OK.

Ordinarily we'd bump catversion when changing any predefined catalog
contents like this, but since we're past beta1, the costs of a forced
initdb seem to outweigh the benefits of guaranteed behavioral consistency.
There's not any known behavioral impact today anyway --- this is more
in the nature of being sure there's not problems in future.

Per an off-list complaint from Thomas Fanghaenel.
src/include/catalog/pg_type.h