The following bug has been logged on the website:
Bug reference: 14184
Logged by: Zubair Alam
Email address: zzia88(at)gmail(dot)com
PostgreSQL version: 9.5.3
Operating system: windows7-x64(64 bit)
Description:
postgresql-9.5.3-1-windows-x64
-----<<<<<<My function Coding>>>>----
CREATE OR REPLACE FUNCTION FACTORIAL(IN NUM BIGINT,OUT FACT BIGINT) AS $$
DECLARE
FACT BIGINT;
BEGIN
FOR I IN REVERSE 1..NUM LOOP
FACT:=FACT*I;
END LOOP;
END;
$$ LANGUAGE plpgsql;
-----<<<<<<<<<<<<>>>>>>>>>>>>>-----
SELECT* FROM FACTORIAL(5);
IT SHOWING NULL VALUE...