Re: PL/pgSQL bug? - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: PL/pgSQL bug?
Date
Msg-id 20010812104805Q.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: PL/pgSQL bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PL/pgSQL bug?
List pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > Ok, maybe another workaround might be adding a checking for cmax in
> > the subselect:
> 
> >    SELECT INTO myid i FROM t1 WHERE i = (SELECT i FROM t1 WHERE i = 1);
> 
> > to make sure that cmax > 0?
> 
> Huh?  How would that help?

According to the doc, tuples with cmax > 0 should not be visible to
the current transaction, no?
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [PATCHES] Select parser at runtime
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] Select parser at runtime