Re: [GENERAL] How to rename a database?

Поиск
Список
Период
Сортировка
Искать
От
James Olin Oden
Тема
Re: [GENERAL] How to rename a database?
Дата
Msg-id
81Jul8.113559edt.35713@gateway.lee.k12.nc.us
Список
Дерево обсуждения
How to rename a database? Farzad FARID <farzy@publicis.fr>
Re: [GENERAL] How to rename a database? Aleksey Dashevsky <postgres@luckynet.co.il>

> Use following syntax:
> alter table  rename to 
>
>

I don't think that will work for the entire database.  Remember a table is
part of the database.  So I don't think alter will change the actual
database's name...

> >
> > How do I rename an existing database? Is it enough to just rename the
> > directory? If that's the only way to do it do I have to first shut the
> > server down?
> >
> > --
> > Farzad FARID
> > Administrateur Reseau
> > Publicis Technology
> >
> >



В списке pgsql-general по дате отправления
От: Stuart Rison
Дата:
От: Kurt Seel
Дата:
Сообщение: upgrade question
FAQ