How to rename current database?

From: Sven Delle <svdellepude(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: How to rename current database?
Date: 2018-05-09 07:24:03
Message-ID: BA75F654-2209-43B4-A9A5-A6CB45BA710D@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I’m baffled that I have to sign up for a mailing list because I’m absolutely unable to figure out from the interface of pgAdmin 4 how to rename a given database?

I’m going to the properties of the database to rename it, but get an error: ERROR: current database cannot be renamed.

Hmm, I guess it’s because it’s currently running, fine – I get that. But then, HOW THE HOLY CRAP DO I STOP THE DATABASE SO I CAN RENAME IT!?!?!?!?!?!?!?!!?!!?!?

Horrible experience from a user perspective.

How do I rename a current database in pgAdmin?

The docs are useless ...

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sven Delle 2018-05-09 07:46:08 How do I execute SQL in pgAdmin!?
Previous Message Roman Scheller 2018-05-08 07:16:42 PG_Admin 4 V3.0 Launch Crash