Re: [GENERAL] How to rename a database?

From: Aleksey Dashevsky <postgres(at)luckynet(dot)co(dot)il>
To: Farzad FARID <farzy(at)publicis(dot)fr>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] How to rename a database?
Date: 1998-07-09 08:56:53
Message-ID: Pine.LNX.3.96.SK.980709115606.30716B-100000@kesha.luckynet.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Use following syntax:
alter table <Old_Table_Name> rename to <New_Table_Name>

Al.

On Wed, 8 Jul 1998, Farzad FARID wrote:

>
> 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
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Konstantin S. Kuznetsov 1998-07-09 09:28:51 Python
Previous Message Peter T Mount 1998-07-09 06:12:22 Re: [INTERFACES] pb compiling JDBC interface