Re: Copy & Re-copy of DB

Поиск
Список
Период
Сортировка
От Ken Tanzer
Тема Re: Copy & Re-copy of DB
Дата
Msg-id CAD3a31ULW3QB17zyc_27F+J3DW9mgorOMo3Tgm+Xa1rc=1pPhg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Copy & Re-copy of DB  ("sivapostgres@yahoo.com" <sivapostgres@yahoo.com>)
Ответы Re: Copy & Re-copy of DB  ("sivapostgres@yahoo.com" <sivapostgres@yahoo.com>)
Список pgsql-general


On Thu, Jan 21, 2021 at 5:52 AM sivapostgres@yahoo.com <sivapostgres@yahoo.com> wrote:
create database is to create a new database.  If we switch to new database, we need to change the new databasename in the program(s) that access this database.  

If you are just concerned about having the same database name, what about renaming (ALTER DATABASE ... RENAME TO) the old and/or new databases so they end up the way you want?

Cheers,
Ken

--
AGENCY Software  
A Free Software data system
By and for non-profits
(253) 245-3801

learn more about AGENCY or
follow the discussion.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error while running restore
Следующее
От: Tommy Li
Дата:
Сообщение: autovacuum verbose?