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
    Marc G. Fournier authored
    Subject: [HACKERS] backend/optimizer/geqo/geqo_erx.c
    
    I sent these changes in with a bunch of others.  Some were folded in but
    others, like these, were not.  I am not sure why so I am resending this
    to the developers list by itself for discussion.
    
    The readon why I suggest these changes is that the compiler can't tell
    that minimum_count is initialized before it is used.  The tests that I
    add in here will cause an immediate error if it doesn't.  As the comments
    below suggest, if it is 100% guaranteed that the variable will always
    be initialized then how this is so should be commented here.  I don't
    know how much strain the actual test puts on the performance but if it
    isn't too much then maybe leave it in for absolute safety anyway.
    
    There are also a few returns just to stop warnings.
    f50b103c
    History
    Name Last commit Last update