Re: database error xx000? - Mailing list pgsql-general

From dennis jenkins
Subject Re: database error xx000?
Date
Msg-id CAAEzAp8CvV-S3GakmPaxsijVUz9z33fAgnr8PVNwhRJT87rAWw@mail.gmail.com
Whole thread Raw
In response to Re: database error xx000?  (Kenneth Tilton <ktilton@mcna.net>)
Responses Re: database error xx000?  (Kenneth Tilton <ktilton@mcna.net>)
List pgsql-general
On Thu, Apr 26, 2012 at 1:59 PM, Kenneth Tilton <ktilton@mcna.net> wrote:
On Thu, Apr 26, 2012 at 2:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
 
Can you produce a self-contained test case?

I doubt it. Every test iteration I run includes a lot of redefining of functions and triggers all over the map, and it works fine thru dozens of iterations. The wheels seem to come off after a serious refactoring. Nothing is needed to clear the problem except (it seems) close any connections to the DB, so I guess some optimization does not work in the face of sufficient dynamic redefinition.



Suggestion: create a program which attempts to stress-test Postgresql by doing similar things.  Even if a single test case does not reliably reproduce the issue, a stress-test might trigger the condition after some time.

pgsql-general by date:

Previous
From: Kenneth Tilton
Date:
Subject: Re: database error xx000?
Next
From: Alexander Farber
Date:
Subject: Which data type to use for UTF8 JSON and perl/PHP: varchar, text or bytea?