Unix Technical Forum

Re: My Sequence does not increment what I expected

This is a discussion on Re: My Sequence does not increment what I expected within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> You maybe had added data before and then deleted it. You can go in and change the sequence start ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:33 PM
Obe, Regina
 
Posts: n/a
Default Re: My Sequence does not increment what I expected

You maybe had added data before and then deleted it. You can go in and change the sequence start number via pgAdmin by expanding the sequences node, selecting the sequence in question and changing the current value to 1 and minimum to 1.



________________________________

From: pgadmin-support-owner@postgresql.org [mailtogadmin-support-owner@postgresql.org] On Behalf Of Ezequias Rodrigues da Rocha
Sent: Friday, September 29, 2006 8:02 AM
To: pgAdmin Support
Subject: [pgadmin-support] My Sequence does not increment what I expected


Hi list,

I have a sequence and when I insert a new row the sequence increment 101 instead of 1.

Does anybody noticed something like that ? Should I delete and recreate the sequence ?


Any help will be welcomed.


Regards ...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente(Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/



-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally
privilegedand/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com