pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcin Krawczyk <jankes.mk@gmail.com>
To: pgsql-sql@postgresql.org
Subject: temp table existence
Date: Sat, 29 Dec 2007 20:16:33 +0100
Message-ID: <95f6bf9b0712291116lc3c1df0o978922176e98f8d7@mail.gmail.com> (raw)

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?

view thread (8+ messages)  latest in thread

Message-ID: <95f6bf9b0712291116lc3c1df0o978922176e98f8d7@mail.gmail.com>
Permalink:  ../95f6bf9b0712291116lc3c1df0o978922176e98f8d7@mail.gmail.com/
Also on:    postgresql.org/message-id/95f6bf9b0712291116lc3c1df0o978922176e98f8d7@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jankes.mk@gmail.com
  Subject: Re: temp table existence
  In-Reply-To: <95f6bf9b0712291116lc3c1df0o978922176e98f8d7@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox