Re: TODO item - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: TODO item
Date
Msg-id 87r60hd51l.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: TODO item  (Bruce Momjian <bruce@momjian.us>)
Responses Re: TODO item  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
>>>>> "Bruce" == Bruce Momjian <bruce@momjian.us> writes:
>> 1) select ... from foo, unnest(foo.bar);   -- UNNEST is implicitly LATERAL[...]>> It's point (1) that's the killer -
withoutit, unnest() is just a>> trivial shorthand for stuff that can be done anyway; it doesn't>> actually add any
functionality.
Bruce> OK, so what should the TODO wording be?

Under "SQL Commands":
* implement LATERAL (and corresponding UNNEST functionality)

(LATERAL is, I suspect, a fairly big project because of the amount of
planner work involved, but it's also a fairly high-value project
because (a) it's useful (we usually get a couple of cases every week
on the IRC chan where people ask "how do I do X", where X would be
trivial with LATERAL but requires complex and often inefficient SQL
without it), and (b) it potentially presents optimization
opportunities even for queries that don't use it.)

-- 
Andrew.


pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: TODO item
Next
From: Robert Haas
Date:
Subject: Re: 8.4 open items list