Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    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
    History
    Name Last commit Last update