Re: ALTER SEQUENCE

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Don Y <pgsql(at)DakotaCom(dot)Net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ALTER SEQUENCE
Date: 2006-05-17 20:35:35
Message-ID: 200605172035.k4HKZZO29392@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Don Y wrote:
> Hi,
>
> It doesn't appear that there is a way to rename a sequence
> (ideally with a "cascade" action).

Uh, the ALTER SEQUENCE manual page says:

Some variants of ALTER TABLE can be used with sequences as
well; for example, to rename a sequence use ALTER TABLE
RENAME.

Does that help?

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2006-05-17 20:41:54 Re: PG_DIAG_STATEMENT_POSITION Where is it defined?
Previous Message Martijn van Oosterhout 2006-05-17 20:32:40 Re: PG_DIAG_STATEMENT_POSITION Where is it defined?