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
    Andrew Gierth authored
    The logic in reorder_grouping_sets to order grouping set elements to
    match a pre-specified sort ordering was defective, resulting in
    unnecessary sort nodes (though the query output would still be
    correct). Repair, simplifying the code a little, and add a test.
    
    Per report from Richard Guo, though I didn't use their patch. Original
    bug seems to have been my fault.
    
    Backpatch back to 9.5 where grouping sets were introduced.
    
    Discussion: https://postgr.es/m/CAN_9JTzyjGcUjiBHxLsgqfk7PkdLGXiM=pwM+=ph2LsWw0WO1A@mail.gmail.com
    4a36c771
    History
    Name Last commit Last update