pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: gnanam@zoniac.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Advise on dropping TEMP table/schema for my use case
Date: Wed, 9 Mar 2011 07:38:01 -0700
Message-ID: <AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@mail.gmail.com> (raw)
In-Reply-To: <004a01cbde41$a01544a0$e03fcde0$@com>
References: <004a01cbde41$a01544a0$e03fcde0$@com>

On Wed, Mar 9, 2011 at 3:06 AM, Gnanakumar <gnanam@zoniac.com> wrote:
>
> So, now we've decided to either DROP TABLE pg_temp_xx.FOO or DROP SCHEMA
> pg_temp_xx explicitly just before closing the connection (after step 3 and
> before step 4), so that it'll not be visible for the next database
> connection request.  My question is, which one of the option is recommended
> and why?

Why can't you just do:

DROP TABLE FOO;

???



view thread (3+ messages)  latest in thread

Message-ID: <AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@mail.gmail.com>
Permalink:  ../AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, gnanam@zoniac.com
  Subject: Re: Advise on dropping TEMP table/schema for my use case
  In-Reply-To: <AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@mail.gmail.com>
  References: <004a01cbde41$a01544a0$e03fcde0$@com> <AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@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