Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Is this a b...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 15495 of 17437
Post > Topic >>

Re: Is this a bug? (changing sequences in default value)

by mmoncure@[EMAIL PROTECTED] ("Merlin Moncure") May 13, 2008 at 11:26 AM

On Tue, May 13, 2008 at 8:50 AM, Fernando Schapachnik
<fernando@[EMAIL PROTECTED]
> wrote:
>  > > ALTER SEQUENCE name [ INCREMENT [ BY ] increment ]
>  > >    [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO
>  > > MAXVALUE ]
>  > >    [ RESTART [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
>  >
>  > oop, you are using 8.1 :-).  This was added in a later version.  drop
>  > sequence ... cascade should probably work.  you can try it out in a
>  > transaction to be sure.
>
>  Thanks for your help, but cascade doesn't make a difference.

What do you mean? PostgreSQL 8.1 has 'drop sequence cascade':
http://www.postgresql.org/docs/8.1/interactive/sql-dropsequence.html

If this isn't working, can you paste the text of the error message?

merlin

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 7 Posts in Topic:
Is this a bug? (changing sequences in default value)
fschapachnik@[EMAIL PROTE  2008-05-08 08:52:07 
Re: Is this a bug? (changing sequences in default value)
mmoncure@[EMAIL PROTECTED  2008-05-09 08:45:19 
Re: Is this a bug? (changing sequences in default value)
fernando@[EMAIL PROTECTED  2008-05-09 09:55:02 
Re: Is this a bug? (changing sequences in default value)
mmoncure@[EMAIL PROTECTED  2008-05-09 09:48:07 
Re: Is this a bug? (changing sequences in default value)
fernando@[EMAIL PROTECTED  2008-05-13 09:50:27 
Re: Is this a bug? (changing sequences in default value)
mmoncure@[EMAIL PROTECTED  2008-05-13 11:26:52 
Re: Is this a bug? (changing sequences in default value)
fernando@[EMAIL PROTECTED  2008-05-13 13:16:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:41:33 CST 2008.