1. 17 May, 2007 9 commits
  2. 16 May, 2007 2 commits
  3. 15 May, 2007 10 commits
  4. 14 May, 2007 5 commits
  5. 13 May, 2007 2 commits
  6. 12 May, 2007 4 commits
  7. 11 May, 2007 3 commits
    • Tom Lane's avatar
      Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT · d8326119
      Tom Lane authored
      needs to check the new constraint against columns of derived domains too.
      
      Also, make it error out if the domain to be modified is used within any
      composite-type columns.  Eventually we should support that case, but it seems
      a bit painful, and not suitable for a back-patch.  For the moment just let the
      user know we can't do it.
      
      Backpatch to 8.2, which is the only released version that allows nested
      domains.  Possibly the other part should be back-patched further.
      d8326119
    • Neil Conway's avatar
      3b6afdd7
    • Tom Lane's avatar
      Support arrays of composite types, including the rowtypes of regular tables · bc8036fc
      Tom Lane authored
      and views (but not system catalogs, nor sequences or toast tables).  Get rid
      of the hardwired convention that a type's array type is named exactly "_type",
      instead using a new column pg_type.typarray to provide the linkage.  (It still
      will be named "_type", though, except in odd corner cases such as
      maximum-length type names.)
      
      Along the way, make tracking of owner and schema dependencies for types more
      uniform: a type directly created by the user has these dependencies, while a
      table rowtype or auto-generated array type does not have them, but depends on
      its parent object instead.
      
      David Fetter, Andrew Dunstan, Tom Lane
      bc8036fc
  8. 10 May, 2007 2 commits
  9. 08 May, 2007 3 commits
    • Tom Lane's avatar
      Reserve some pg_statistic "kind" codes for use by the ESRI ST_Geometry · 5b7cf08d
      Tom Lane authored
      datatype project.  Per request from Ale Raza (araza at esri.com).
      5b7cf08d
    • Neil Conway's avatar
      Add a hash function for "numeric". Mark the equality operator for · ade493e0
      Neil Conway authored
      numerics as "oprcanhash", and make the corresponding system catalog
      updates. As a result, hash indexes, hashed aggregation, and hash
      joins can now be used with the numeric type. Bump the catversion.
      
      The only tricky aspect to doing this is writing a correct hash
      function: it's possible for two Numerics to be equal according to
      their equality operator, but have different in-memory bit patterns.
      To cope with this, the hash function doesn't consider the Numeric's
      "scale" or "sign", and explictly skips any leading or trailing
      zeros in the Numeric's digit buffer (the current implementation
      should suppress any such zeros, but it seems unwise to rely upon
      this). See discussion on pgsql-patches for more details.
      ade493e0
    • Tom Lane's avatar
      Add an explicit comment about POSIX time zone names having the reverse · 97f79694
      Tom Lane authored
      sign convention from everyplace else in Postgres.  I don't suppose that
      this will stop people from being confused, but at least we can say that
      it's documented.
      97f79694