Re: [GENERAL] currval and DISCARD ALL

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: fabrizio(at)timbira(dot)com(dot)br
Cc: Boszormenyi Zoltan <zb(at)cybertec(dot)at>, Fabrízio Mello <fabriziomello(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Marko Kreen <markokr(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, Nigel Heron <nigel(at)psycode(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: [GENERAL] currval and DISCARD ALL
Date: 2013-10-03 20:26:36
Message-ID: CA+TgmoZjhtEtncAsDYQtWNwLgOwvdgzp6Dhf-eeE9AsJVUkRXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, Sep 2, 2013 at 4:35 PM, Fabrízio de Royes Mello
<fabrizio(at)timbira(dot)com(dot)br> wrote:
> The attached patch fix the items reviewed by you.

Committed with assorted revisions. In particular, I renamed the
function that discards cached sequence data, revised the wording of
the documentation, added a regression test, and tweaked the list-free
code to pop items off one after the other instead of walking the list
and then NULLing it out at the end. Although no ERROR is possible
here currently, this coding style is generally preferable because it's
robust against being interrupted in the middle.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2013-10-03 20:32:24 Re: [GENERAL] currval and DISCARD ALL
Previous Message John R Pierce 2013-10-03 19:24:04 Re: Fighting the autovacuumer (to prevent wraparound)

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2013-10-03 20:32:24 Re: [GENERAL] currval and DISCARD ALL
Previous Message David E. Wheeler 2013-10-03 20:24:32 Re: No Index-Only Scan on Partial Index