Re: Records Number - Mailing list pgsql-general

From Tom Lane
Subject Re: Records Number
Date
Msg-id 8596.1237300798@sss.pgh.pa.us
Whole thread Raw
In response to Re: Records Number  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-general
Thomas Kellerer <spam_eater@gmx.net> writes:
> Can a trigger solution really give an accurate count in a concurrent insert/delete scenario?

In principle yes, but AFAIK no one has really coded it up in full
detail.  See the design that was hashed out in some previous
mailing-list thread, involving delta-count records entered into
a tracking table by each transaction that inserts or deletes.

            regards, tom lane

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Records Number
Next
From: Ivano Luberti
Date:
Subject: COPY command question