Richard Ellis <[EMAIL PROTECTED]> writes:
> Watch the resident set size of the postmaster that the psql is connected
> to as the while loop pumps data into psql. As transactions are aborted,
> the RSS of the postmaster continues to grow. Looks like postmaster is
> leaking memory somewhere.
Seem
Test case:
create table test (data text unique);
Outside of psql, run this command (This is for bash):
while true ; do echo "begin work; insert into test (data) values ('This
is a test string.'); commit work;" ; done | psql
Watch the resident set size of the postmaster that the psql is connect