David,
Many thanks for the detailed explanation. I'll try to code it up and measure how much overhead it introduces.
-- Alexander KuzmenkovPostgres Professional: http://www.postgrespro.comThe Russian Postgres Company