Re: Final Patch for GROUPING SETS - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Final Patch for GROUPING SETS
Date
Msg-id 87vbojobj5.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Final Patch for GROUPING SETS  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
>>>>> "Andrew" == Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
Andrew> You're telling me. Also, feeding it to an online yaml-to-jsonAndrew> converter gives the result as
[["two","four"],["two"],null]Andrew>which is not quite the same as the json version. AnAndrew> alternative would be:
 

Oh, another YAML alternative would be:
   Grouping Sets:     - ["two","four"]     - ["two"]     - []

Would that be better? (It's not consistent with other YAML outputs like
sort/group keys, but it's equally legal as far as I can tell and seems
more readable.)

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Final Patch for GROUPING SETS
Next
From: Robert Haas
Date:
Subject: Re: RLS Design