exp(x) vs : - Mailing list pgsql-bugs

From Robert B. Easter
Subject exp(x) vs :
Date
Msg-id 0007071223060A.01354@comptechnews
Whole thread Raw
List pgsql-bugs
SELECT : 1;  -- returns e
Works, but gives a NOTICE that the : operator is depreciated and that
exp(x) should be used instead.

SELECT exp(1);
Gets ERROR: exp(INT4) does not exist.

SELECT exp(1.0);
Works fine of course.

Just seems strange that a depreciated operator actually works smoother.

--
            Robert

pgsql-bugs by date:

Previous
From: Matías Giovannini
Date:
Subject: Link fails on PPC
Next
From: "Robert B. Easter"
Date:
Subject: Factorial operator gets parser error in psql.