Following test case gives a warning of snapshot not destroyed at commit time.
CREATE TABLE test (a int); INSERT INTO test VALUES (1); BEGIN; DECLARE c CURSOR FOR SELECT * FROM test FOR update; SAVEPOINT A; FETCH -2 FROM c; ROLLBACK TO SAVEPOINT A; COMMIT; Should we call FreeQueryDesc() even for failed portals in PortalCleanup() ? Or PortalDrop() is a better(right) place to do that ? Thanks, Pavan -- Pavan Deolasee EnterpriseDB http://www.enterprisedb.com