Skip to content
Snippets Groups Projects
Select Git revision
3 results

isn.sql.in

Blame
    • Tom Lane's avatar
      3f936aac
      Add a "LIKE = typename" clause to CREATE TYPE for base types. This allows · 3f936aac
      Tom Lane authored
      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.
      3f936aac
      History
      Add a "LIKE = typename" clause to CREATE TYPE for base types. This allows
      Tom Lane authored
      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.