Re: Advise on dropping TEMP table/schema for my use case

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: gnanam(at)zoniac(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Advise on dropping TEMP table/schema for my use case
Date: 2011-03-09 14:38:01
Message-ID: AANLkTimyDFzfqQ2EVfQi0irjChpLO5Laej8O-aUQ0LR1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Mar 9, 2011 at 3:06 AM, Gnanakumar <gnanam(at)zoniac(dot)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;

???

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2011-03-09 14:48:10 Re: [GENERAL] FW: backup using pg_dump postgreSQL 8.3.8
Previous Message Vibhor Kumar 2011-03-09 14:10:06 Re: FW: backup using pg_dump postgreSQL 8.3.8