pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thorsten Glaser <tg@evolvis.org>
To: H <agents@meddatainc.com>
Cc: PostgreSQL Users Mailing List <pgsql-general@lists.postgresql.org>
Subject: Re: Dropping all tables in a database
Date: Mon, 7 Aug 2023 04:19:50 +0200 (CEST)
Message-ID: <225e893e-6973-37e6-e671-43481ba55633@evolvis.org> (raw)
In-Reply-To: <ca828fc5-4ab6-f365-cb69-8076dee6e808@meddatainc.com>
References: <ca828fc5-4ab6-f365-cb69-8076dee6e808@meddatainc.com>

On Sun, 6 Aug 2023, H wrote:

>I am running PostgreSQL  13.11 and tried to drop all tables in a
>database without dropping the database or schema.

See:
https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=useful-scripts/useful-scripts.git;a=tree;f=S...

Comments welcome (especially a fix to the item still in TODO).

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************





view thread (7+ messages)  latest in thread

Message-ID: <225e893e-6973-37e6-e671-43481ba55633@evolvis.org>
Permalink:  ../225e893e-6973-37e6-e671-43481ba55633@evolvis.org/
Also on:    postgresql.org/message-id/225e893e-6973-37e6-e671-43481ba55633@evolvis.org

 · 

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-general@postgresql.org
  Cc: tg@evolvis.org, agents@meddatainc.com
  Subject: Re: Dropping all tables in a database
  In-Reply-To: <225e893e-6973-37e6-e671-43481ba55633@evolvis.org>
  References: <ca828fc5-4ab6-f365-cb69-8076dee6e808@meddatainc.com> <225e893e-6973-37e6-e671-43481ba55633@evolvis.org>

* 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