Re: Bug #689: Bug at moving cursor on joined tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: robert(dot)grabowski(at)7bulls(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #689: Bug at moving cursor on joined tables
Date: 2002-06-11 17:15:21
Message-ID: 2300.1023815721@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> I have problems with moving cursors on joined tables.

Most of the more complex plan node types don't really support moving
backwards. I suppose it'd be an idea to error out rather than silently
doing the wrong thing. Fixing the code to actually do the right thing
is way down the priority list, unfortunately.

As a workaround you could modify the query to force a sort step after
the join, eg with an ORDER BY that doesn't match the join condition.
A sort node can cope with backwards scan of its output ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Billy O'Connor 2002-06-11 17:41:40 Re: Referential integrity problem postgresql 7.2 ?
Previous Message pgsql-bugs 2002-06-11 16:33:31 Bug #689: Bug at moving cursor on joined tables