Re: what is sublinks in query planner?

From: Sandeep Gupta <gupta(dot)sandeep(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: what is sublinks in query planner?
Date: 2014-03-28 19:59:25
Message-ID: CAAywg7s2Zcv6-dR4m7S7A3epDBj4kFH3V_S92xOFxt5bNK+Yeg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Tom,

Sure. Thanks for the info. This helps. I will look into primnodes.h as
well.

-Sandeep

On Fri, Mar 28, 2014 at 3:56 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Sandeep Gupta <gupta(dot)sandeep(at)gmail(dot)com> writes:
> > I looked for description of sublinks in the code as well as online but
> > failed to come with any information. Was wondering someone can provide a
> > line or two of what sublinks are suppose to do?
>
> They're sub-SELECTs used in expression contexts (ie, not directly in a
> FROM list). The comments for the SubLink and SubPlan node types in
> primnodes.h may help you.
>
> regards, tom lane
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2014-03-28 20:02:02 Re: PG choosing nested loop for set membership?
Previous Message Tom Lane 2014-03-28 19:56:18 Re: what is sublinks in query planner?