[HN Gopher] Interesting Bits of Postgres Grammar
       ___________________________________________________________________
        
       Interesting Bits of Postgres Grammar
        
       Author : sbdchd
       Score  : 57 points
       Date   : 2025-06-23 15:09 UTC (7 hours ago)
        
 (HTM) web link (steve.dignam.xyz)
 (TXT) w3m dump (steve.dignam.xyz)
        
       | lovich wrote:
       | Was not aware you can execute lambda calculus in sql. neat
       | article
        
         | cryptonector wrote:
         | SQL is Turing complete.
        
       | PaulHoule wrote:
       | What I want is a PEG grammar generator that lets you set operator
       | precedence with either numbers or partial orderings.
        
       | o11c wrote:
       | Postgres's identifier-quoting is _almost_ what standard SQL
       | requires, except that it folds in the wrong direction (only
       | relevant if you 're introspecting or mixing quoted with unquoted
       | identifiers).
       | 
       | Many (Most?) other SQL implementations violate the standard
       | horribly.
        
       ___________________________________________________________________
       (page generated 2025-06-23 23:01 UTC)