Re: segfault on rollback

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: segfault on rollback
Date: 2006-08-13 22:28:16
Message-ID: 8300.1155508096@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> We could "fix" this by emitting the log message before calling
> finish_xact_command, but I think that would result in seriously
> underreporting the time required for a COMMIT. Probably the right fix
> is to copy the data we might need out of the Portal before committing.

Patch applied.

This reminds me that even though the V3-protocol code has been in there
since 7.4, we don't have nearly complete test coverage on it. It'd be a
good idea to have some basic tests included somewhere in the standard or
contrib regression tests. Any thoughts about an easy way to do it?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-13 22:36:03 Re: segfault on rollback
Previous Message Jaime Casanova 2006-08-13 22:27:32 Re: problem with volatile functions in subselects ?