Skip site navigation (1) Skip section navigation (2)

pgsql: Ugly patch to make ALTER SEQUENCE OWNED BY not affect the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ugly patch to make ALTER SEQUENCE OWNED BY not affect the
Date: 2007-10-25 19:15:01
Message-ID: 20071025191501.DD4A6754229@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Ugly patch to make ALTER SEQUENCE OWNED BY not affect the currval() state
of the sequence.  Since OWNED BY never existed before 8.2, this seems
unlikely to create any compatibility issues.  Other forms of ALTER SEQUENCE
continue to do what they did before, namely update currval to match the
sequence's actual last_val.  That seems wrong on consideration, but we'll
not change it in a minor release --- 8.3 will make that fix.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        sequence.c (r1.141 -> r1.141.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/sequence.c?r1=1.141&r2=1.141.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-10-25 19:37:09
Subject: Re: Re: [COMMITTERS] pgsql: Extract catalog info for error reporting before an error actually
Previous:From: Alvaro HerreraDate: 2007-10-25 19:13:37
Subject: pgsql: Fix memory management for new variables -- they must actually

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group