renaming a db

Поиск
Список
Период
Сортировка
От jik@foxinternet.net
Тема renaming a db
Дата
Msg-id 3B8FEDAE.BED434CF@foxinternet.net
обсуждение исходный текст
Ответы Re: renaming a db  (harrold@sage.che.pitt.edu)
Re: renaming a db  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
I have a feeling I can't do it, but is there a way to rename a dB?

I am doing major scheme alterations and recreating the DB from the data
origionally used as well as some data from the origional DB....I would
like to be able to just plug it in without having to alter the dbname in
all of the scripts that use it....I know I can dump the db, drop them
both and recreate...but renaming would be easier :P

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

Предыдущее
От: Jason Tan
Дата:
Сообщение: PL/pgSQL adn triggers
Следующее
От: harrold@sage.che.pitt.edu
Дата:
Сообщение: Re: renaming a db