Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group