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

port

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Robert Haas authored
    The immediate impetus for this is that Noah Misch's patch to elide
    unnecessary table and index rebuilds when changing typmod for temporal
    types uses it; and this is extracted from that patch, with some
    further commentary by me.  But it seems logically separate from the
    remainder of the patch, so I'm committing it separately; this is not
    the first time someone has wanted fls() in the backend and probably
    won't be the last.
    
    If we end up using this in more performance-critical spots it may be
    worthwhile to add some architecture-specific optimizations to our
    src/port version of fls() - e.g. any x86 platform can implement this
    using the assembly instruction BSRL.  But performance won't matter
    a bit for assessing typmod changes, so I'm not worried about that
    right now.
    4f658dc8
    History
    Name Last commit Last update
    ..