Re: pl/pgsql and controling loops - Mailing list pgsql-general

From Tom Lane
Subject Re: pl/pgsql and controling loops
Date
Msg-id 616.1206647605@sss.pgh.pa.us
Whole thread Raw
In response to Re: pl/pgsql and controling loops  (aklaver@comcast.net (Adrian Klaver))
Responses Re: pl/pgsql and controling loops  ("Alain Roger" <raf.news@gmail.com>)
List pgsql-general
aklaver@comcast.net (Adrian Klaver) writes:
> From: "Alain Roger" <raf.news@gmail.com>
>> once to do a comparison they use :
> IF (ret == 1) THEN ...
>> once,
> IF (ret = 1) THEN...

> Both are correct.

No they're not, as a simple test would convince you ...
there is no '==' operator in SQL.

            regards, tom lane

pgsql-general by date:

Previous
From: "Alain Roger"
Date:
Subject: dunction issue
Next
From: "Alain Roger"
Date:
Subject: Re: pl/pgsql and controling loops