BUG #5629: ALTER SEQUENCE foo START execute a RESTART

From: "Alexsander" <alexsander(dot)rosa(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5629: ALTER SEQUENCE foo START execute a RESTART
Date: 2010-08-26 20:52:41
Message-ID: 201008262052.o7QKqf3l026801@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5629
Logged by: Alexsander
Email address: alexsander(dot)rosa(at)gmail(dot)com
PostgreSQL version: 8.3.11
Operating system: Linux
Description: ALTER SEQUENCE foo START execute a RESTART
Details:

Steps to reproduce:

CREATE SEQUENCE foo;
SELECT setval('foo',12345);
ALTER SEQUENCE foo START WITH 10; -- can't change value
SELECT nextval('foo'); -- it's 10 instead of 12346

Apparently START is executing a RESTART.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Cristian Bittel 2010-08-26 20:59:59 Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
Previous Message Alvaro Herrera 2010-08-26 20:46:42 Re: BUG #5595: Documentation is not installs from VPATH build.