Hi Hackers,
While testing with PG procedure, I found a memory leak on HEAD, with below steps:
postgres=# CREATE OR REPLACE PROCEDURE proc1(v1 INOUT INT)
AS $$
BEGIN
commit;
END; $$ LANGUAGE plpgsql;
CREATE PROCEDURE
postgres=# call proc1(10);
WARNING: Snapshot reference leak: Snapshot 0x23678e8 still referenced
v1
----
10
(1 row)
--
With Regards,
Prabhat Kumar Sahu
Skype ID: prabhat.sahu1984
EnterpriseDB Corporation
![](http://www.enterprisedb.com/sites/default/files/EDB-logo-4c.png?elq=079c0344415e4953b0e929564c10ab1c)
The Postgres Database Company