pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ehab Galal <ehabgalal123@hotmail.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: marking tuples
Date: Tue, 4 Dec 2007 17:25:09 -0500
Message-ID: <BAY138-W31C72CF9118BE1CB6BC00966D0@phx.gbl> (raw)

Hi,
I am implementing a new algorithm inside postgresql for a side research project. I am just wondering if anyone may give me few hints about the following problem:

Consider the following plan:

NewAggregate
    ->NewJoin
          ->NewJoin
                ->NewJoin
                       ->SeqScan

                       ->SeqScan
                ->SeqScan
          ->SeqScan


In my algorithm, 
each NewJoin node may "mark" its ps_ResultTupleSlot with either red/green. I need that mark to flow in the pipeline so that i can collect them at the top aggregate.

Any hints about how to keep such mark is greatly appreciated.

Thanks a lot,
Ehab

_________________________________________________________________
You keep typing, we keep giving. Download Messenger and join the i’m Initiative now.
http://im.live.com/messenger/im/home/?source=TAGLM=

view thread (3+ messages)  latest in thread

Message-ID: <BAY138-W31C72CF9118BE1CB6BC00966D0@phx.gbl>
Permalink:  ../BAY138-W31C72CF9118BE1CB6BC00966D0@phx.gbl/
Also on:    postgresql.org/message-id/BAY138-W31C72CF9118BE1CB6BC00966D0@phx.gbl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ehabgalal123@hotmail.com
  Subject: Re: marking tuples
  In-Reply-To: <BAY138-W31C72CF9118BE1CB6BC00966D0@phx.gbl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox