Re: temp table existence

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Marcin Krawczyk" <jankes(dot)mk(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: temp table existence
Date: 2007-12-29 19:33:58
Message-ID: 162867790712291133n1bb6a6fcqeb1234df1576dd8c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello

On 29/12/2007, Marcin Krawczyk <jankes(dot)mk(at)gmail(dot)com> wrote:
> Hi all. Is there a way to determine the existence of a TEMP TABLE? I need to
> check i it exists before I create it.
> Doing simple check on pg_class or pg_tables is
> not enough because there may be other such tables created in other sessions.
> Or maybe anyone knows the identification (apart from 'others') of error to
> trap it with EXCEPTION clause?
>

http://www.pgsql.cz/index.php/Automatic_execution_plan_caching_in_PL/pgSQL

Regards
Pavel Stehule

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Marcin Krawczyk 2007-12-29 20:43:07 Re: temp table existence
Previous Message Marcin Krawczyk 2007-12-29 19:16:33 temp table existence