Wojtek wrote: > But... Postgress treats function as single transaction, of course. > Hence, I'm not able to see any changes in my progress monitoring table > until my main function is finished and all the statuses are set to 0. You could use dblink() to insert into your logging table. David. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general