> If you want an accurate, up-to-date count then you'll need to use > count(*) or have a trigger keep a summary-count for you. A simple > implementation will reduce concurrency to writes on that table however. Yes I solved by a trigger.... > Lots of discussion in the mailing-list archives on this. Thank you for your time Enrico -- That's one small step for man; one giant leap for mankind Enrico Pirozzi Tel. +39 0861 1855771 Mob.+39 328 4164437 Fax +39 0861 1850310 www.enricopirozzi.info info@xxxxxxxxxxxxxxxxxx Skype sscotty71 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general