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
    Tom Lane authored
    I hope.  I finally realized that we were going at it backwards: when
    there are excess parentheses, they need to be treated as part of the
    sub-SELECT, not as part of the surrounding expression.  Although either
    choice yields an unambiguous grammar, only this way produces a grammar
    that is LALR(1).  With the old approach we were guaranteed to fail on
    either 'SELECT (((SELECT 2)) + 3)' or
    'SELECT (((SELECT 2)) UNION SELECT 2)' depending on which way we
    resolve the initial shift/reduce conflict.  With the new way, the same
    reduction track can be followed in both cases until we have advanced
    far enough to know whether we are done with the sub-SELECT or not.
    3db4056e
    History
    Name Last commit Last update