aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-11-30 19:01:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-11-30 19:01:29 +0000
commit3f936aacc057e4b391ab953fea2ffb689a12a8bc (patch)
tree481da44f2f1755e0405174a25d0145f1c80ac6d9 /src/backend/tcop/postgres.c
parent0ddede58e6e7a39438b83469ec74928900767a86 (diff)
downloadpostgresql-3f936aacc057e4b391ab953fea2ffb689a12a8bc.tar.gz
postgresql-3f936aacc057e4b391ab953fea2ffb689a12a8bc.zip
Add a "LIKE = typename" clause to CREATE TYPE for base types. This allows
the basic representational details (typlen, typalign, typbyval, typstorage) to be copied from an existing type rather than listed explicitly in the CREATE TYPE command. The immediate reason for this is to provide a simple solution for add-on modules that want to define types represented as int8, float4, or float8: as of 8.4 the appropriate PASSEDBYVALUE setting is platform-specific and so it's hard for a SQL script to know what to do. This patch fixes the contrib/isn breakage reported by Rushabh Lathia.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions