karave...@mail.bg writes:
> The query I have tried to use is:

> INSERT INTO preferences 
> SELECT user_id,hstore(array_agg(name), array_agg(value)) 
> FROM old_prefs 
> GROUP BY user_id;

> But the postgres backend consumed all the available memory (6G free + 4G
> swap) and finally was killed by the kernel.

Is there any reason to think this is an actual leak, and not just "you
were trying to compute an impractically large value"?

                        regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to