Re: create or replace for tables and schemas - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: create or replace for tables and schemas
Date
Msg-id 20070827113917.GA5353@svana.org
Whole thread Raw
In response to create or replace for tables and schemas  ("Marcelo de Moraes Serpa" <celoserpa@gmail.com>)
Responses Re: create or replace for tables and schemas  ("Marcelo de Moraes Serpa" <celoserpa@gmail.com>)
List 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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Marcelo de Moraes Serpa"
Date:
Subject: create or replace for tables and schemas
Next
From: "Marcelo de Moraes Serpa"
Date:
Subject: Re: create or replace for tables and schemas