Обсуждение: database cluster

Поиск
Список
Период
Сортировка

database cluster

От
Jodi Kanter
Дата:
Let's try this again. Please respond to this message as it has my
correct email address............


I mistakenly created a second database cluster. Can someone tell me how
to remove this?
Also, I need to reinitialize my original cluster since I did not have my
locale set properly. I have corrected that and now have LC_COLLATE="C"
but I believe that I have to run initdb again. However, the directory
structure already exists and it will nto allow me to initialize into the
same location.

Thanks
Jodi Kanter


Re: database cluster

От
Tom Lane
Дата:
Jodi Kanter <jkanter@virginia.edu> writes:
> I mistakenly created a second database cluster. Can someone tell me how
> to remove this?
> Also, I need to reinitialize my original cluster since I did not have my
> locale set properly. I have corrected that and now have LC_COLLATE="C"
> but I believe that I have to run initdb again. However, the directory
> structure already exists and it will nto allow me to initialize into the
> same location.

"rm -rf" is your friend ;-)

            regards, tom lane

Re: database cluster

От
raja kumar thatte
Дата:

 you can rename that dir.

i.e mv abcd abcdold

  Jodi Kanter <jkanter@virginia.edu> wrote:

Let's try this again. Please respond to this message as it has my
correct email address............


I mistakenly created a second database cluster. Can someone tell me how
to remove this?
Also, I need to reinitialize my original cluster since I did not have my
locale set properly. I have corrected that and now have LC_COLLATE="C"
but I believe that I have to run initdb again. However, the directory
structure already exists and it will nto allow me to initialize into the
same location.

Thanks
Jodi Kanter


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.