Re: Drop all databases objects except the database - Mailing list pgsql-general

From Dmitry Tkach
Subject Re: Drop all databases objects except the database
Date
Msg-id 3C9230F7.1070407@openratings.com
Whole thread Raw
In response to Drop all databases objects except the database  ("Evandro" <evandro@horizontenet.com.br>)
List pgsql-general
Evandro wrote:

>HorizontenetHi Everyone,
>
>    Does anyone know about a script or function to drop all databases
>objects except the database? ( to empty a database)
>

If you really want to drop ALL the objects, would it not be the same as
dropping the database and creating a new one?




pgsql-general by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: duplicating and date problem
Next
From: Darren Ferguson
Date:
Subject: Re: How to get the name of a table's primary key?