GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Improve setval for sequences (RM #5130) · Issue #3273 · pgadmin-org/pgadmin4

Improve setval for sequences (RM #5130) #3273

New issue
Copy link
New issue
Copy link
Closed
Closed
Improve setval for sequences (RM #5130)#3273
Copy link
Assignees
pravesh-sharma
Labels
Bug
Milestone
9.0

Description

@dpage
dpage
opened on Jan 28, 2020
Issue body actions

Issue migrated from Redmine: https://redmine.postgresql.org/issues/5130
Originally created by Jorge Gustavo Rocha at 2020-01-28 23:57:50 UTC.

We can set the sequence value back to 1 using the interface. But if we set the sequence to 1, it will provide the value 2 next time. Using the interface, there is no way to have the sequence back to 1.

It is different:
SELECT setval('foo', 1);
or
SELECT setval('foo', 1, false);

When the user sets the sequence to a given value n, pgAdmin could do:
ALTER SEQUENCE foo RESTART WITH n;
or
SELECT setval('foo', n, false);

Activity

Next
  1. dpage commented on Jan 31, 2020

    @dpage
    dpage
    on Jan 31, 2020
    ContributorAuthor
    More actions

    Comment migrated from Redmine: https://redmine.postgresql.org/issues/5130#note-1
    Originally created by Akshay Joshi at 2020-01-31 11:23:32 UTC.

    Redmine ticket header update:

    Name Old Value New Value
    Sprint changed Ready
  2. akshay-joshi
    added this to Ready for Sprint Featureson Sep 20, 2022
  3. akshay-joshi
    removed
    Ready
    on Jan 20, 2023
  4. akshay-joshi
    added
    EDB Sprint 173
    on Jun 28, 2024
  5. akshay-joshi
    added
    EDB Sprint 174
    and removed
    EDB Sprint 173
    on Jul 17, 2024
  6. akshay-joshi
    added
    EDB Sprint 175
    and removed
    EDB Sprint 174
    on Jul 31, 2024
  7. akshay-joshi
    added
    EDB Sprint 177
    and removed
    EDB Sprint 175
    on Aug 14, 2024
  8. akshay-joshi
    added
    EDB Sprint 179
    and removed
    EDB Sprint 177
    on Sep 11, 2024
  9. akshay-joshi
    added
    EDB Sprint 181
    and removed
    EDB Sprint 179
    on Sep 25, 2024
  10. akshay-joshi
    removed
    EDB Sprint 181
    on Nov 19, 2024
  11. 8 remaining items

  12. akshay-joshi
    moved this from 🏗 In Progress to 🆕 New in Current Sprint (213)on Jan 17, 2025
  13. akshay-joshi
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Jan 28, 2025
  14. akshay-joshi
    added
    Housekeeping
    and removed
    Feature
    on Jan 28, 2025
  15. akshay-joshi
    added this to the 9.0 milestone on Jan 28, 2025
  16. akshay-joshi
    added
    Bug
    and removed
    Housekeeping
    on Jan 28, 2025
  17. akshay-joshi
    assigned
    pravesh-sharma
    and unassigned
    akshay-joshi
    on Jan 28, 2025
  18. akshay-joshi
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on Jan 28, 2025
  19. akshay-joshi
    added a commit that references this issue on Jan 28, 2025

    Change the logic of setval function, so that the next nextval of sequ…

    1317e5a
  20. pravesh-sharma commented on Jan 29, 2025

    @pravesh-sharma
    pravesh-sharma
    on Jan 29, 2025
    Contributor
    More actions

    The issue was fixed and verified on snapshot build.

  21. pravesh-sharma
    closed this as completedon Jan 29, 2025
  22. pravesh-sharma
    moved this from In Testing to ✅ Done in Current Sprint (213)on Jan 29, 2025
  23. pravesh-sharma
    removed this from Current Sprint (213)on Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pravesh-sharma
    pravesh-sharma

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 9.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.