Re: create or replace for tables and schemas

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Marcelo de Moraes Serpa <celoserpa(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: create or replace for tables and schemas
Date: 2007-08-27 11:39:17
Message-ID: 20070827113917.GA5353@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 27, 2007 at 08:24:51AM -0300, Marcelo de Moraes Serpa wrote:
> With this in mind, I'd like to know if there is something like CREATE OR
> REPLACE for tables and schemas so that if the object already exists, it will
> just replace it.

Looks lke DROP IF EXISTS was made for you.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcelo de Moraes Serpa 2007-08-27 11:44:56 Re: create or replace for tables and schemas
Previous Message Marcelo de Moraes Serpa 2007-08-27 11:24:51 create or replace for tables and schemas