Changes CDB_DateToNumber() to accept timestamps with time zones 2202

This commit is contained in:
Guido Fioravantti
2015-10-05 11:51:13 +02:00
parent bce61c1e43
commit e4ce12d1a3

View File

@@ -1,6 +1,6 @@
-- Convert timestamp to double precision
--
CREATE OR REPLACE FUNCTION CDB_DateToNumber(input timestamp)
CREATE OR REPLACE FUNCTION CDB_DateToNumber(input timestamp with time zone)
RETURNS double precision AS $$
DECLARE output double precision;
BEGIN