-------------- 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