Re: Using a lock to avoid: could not open relation with OID - Mailing list pgsql-general

From Francisco Reyes
Subject Re: Using a lock to avoid: could not open relation with OID
Date
Msg-id cone.1263271247.78794.2771.1000@shelca
Whole thread Raw
In response to Using a lock to avoid: could not open relation with OID  (Francisco Reyes <lists@stringsutils.com>)
List pgsql-general
Craig Ringer writes:

> Possible workaround: Instead of your table creation, renaming and
> dropping, use TRUNCATE.

Have to support both 8.1 and 8.4.
If I recall correctly 8.1 did not support truncate inside of a transaction.

We are in the process of upgrading everything to 8.4, but until then.. have
to deal with all the 8.1 and 8.2 machines.

pgsql-general by date:

Previous
From: AI Rumman
Date:
Subject: Re: transaction logging in the form of SQL statements
Next
From: AI Rumman
Date:
Subject: location for pg_default tablespace