Re: Comma-separated predicates in simple CASE expressions (f263)

2022-08-30 Thread Daniel Gustafsson
> On 31 Aug 2022, at 00:20, Tom Lane wrote: > > Daniel Gustafsson writes: >> I was looking at F263 from the SQL standard, Comma-separated predicates in >> simple CASE expression, and thinking if we could support this within the >> framework we already have at a minimal added cost. The attached

Re: Comma-separated predicates in simple CASE expressions (f263)

2022-08-30 Thread Tom Lane
Daniel Gustafsson writes: > I was looking at F263 from the SQL standard, Comma-separated predicates in > simple CASE expression, and thinking if we could support this within the > framework we already have at a minimal added cost. The attached sketch diff > turns each predicate in the list into a

Comma-separated predicates in simple CASE expressions (f263)

2022-08-30 Thread Daniel Gustafsson
I was looking at F263 from the SQL standard, Comma-separated predicates in simple CASE expression, and thinking if we could support this within the framework we already have at a minimal added cost. The attached sketch diff turns each predicate in the list into a CaseWhen node and uses the locatio