Patch for Apache::Session::Store::Postgres, from
Apache-Session-1.51.tar.gz, to resolve problems with
>prepare_cached(SELECT a_session FROM sessions WHERE id = ? FOR
>UPDATE) statement handle DBI::st=HASH(0x369a2c) is still active
after a transient error. The solution is to call sth->finish()
whether the SELECT was successful or not.
diff Store/Postgres.pm.orig Store/Postgres.pm
78a79,81
> # success or failure, don't leave FOR UPDATE lying around
> $self->{materialize_sth}->finish;
>
83,84d85
< $self->{materialize_sth}->finish;
<
-- Mike