Search Postgresql Archives

Re: pl/pgsql and controling loops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 -------------- Original message ----------------------
From: Tom Lane <tgl@xxxxxxxxxxxxx>
> aklaver@xxxxxxxxxxx (Adrian Klaver) writes:
> > From: "Alain Roger" <raf.news@xxxxxxxxx>
> >> 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

I stand corrected.

--
Adrian Klaver
aklaver@xxxxxxxxxxx

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux