Re: strange error

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: strange error
Date: 2005-10-11 21:43:50
Message-ID: 1129067031.6751.148.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2005-10-11 at 07:55 +0200, Sim Zacks wrote:
> I tried it on a test RedHat server
> PostgreSQL 8.0.2beta1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> and the problem didn't occur. It is a slightly newer version, though,
> so it doesn't prove anything. But the Gentoo is my production machine,
> so I guess I'll have to figure out a way around it. I'll post again if
> if I can figure out exactly where the problem is occurring.

You were doing the creation of the temporary table in a function. Did
it go wrong on the very first execution in a session or only on the
second and subsequent executions?

If the latter, try using EXECUTE in the function, so that the statement
is reevaluated each time.

--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-10-11 22:04:40 Re: [GENERAL] Oracle buys Innobase
Previous Message Karsten Hilbert 2005-10-11 20:14:06 Re: Oracle buys Innobase