Re: ALTER SEQUENCE - Mailing list pgsql-general

From Bruce Momjian
Subject Re: ALTER SEQUENCE
Date
Msg-id 200605172035.k4HKZZO29392@candle.pha.pa.us
Whole thread Raw
In response to ALTER SEQUENCE  (Don Y <pgsql@DakotaCom.Net>)
Responses Re: ALTER SEQUENCE  (Don Y <pgsql@DakotaCom.Net>)
List 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. +

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: PG_DIAG_STATEMENT_POSITION Where is it defined?
Next
From: Tony Caduto
Date:
Subject: Re: PG_DIAG_STATEMENT_POSITION Where is it defined?