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

From Tom Lane
Subject Re: PL/pgSQL bug?
Date
Msg-id 15699.997545102@sss.pgh.pa.us
Whole thread Raw
In response to Re: PL/pgSQL bug?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
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?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Select parser at runtime
Next
From: Tom Lane
Date:
Subject: Re: CREATE LANGUAGE