Re: sequences and pg_upgrade

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Anastasia Lubennikova <lubennikovaav(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: sequences and pg_upgrade
Date: 2016-09-15 12:29:51
Message-ID: 4a9b1438-b206-163f-29dd-fc8b92932359@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/14/16 8:52 AM, Anastasia Lubennikova wrote:
> Could you clarify, please, why do we dump sequence in schemaOnly mode?
> + if (dopt.schemaOnly && dopt.sequence_data)
> + getSequenceData(&dopt, tblinfo, numTables, dopt.oids);

The point of this patch is that with the new option, you can dump
sequence data (but not table data) alongside with the schema. This
would be used by pg_upgrade for the reasons described at the beginning
of the thread.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-09-15 12:32:27 Re: OpenSSL 1.1 breaks configure and more
Previous Message Peter Eisentraut 2016-09-15 12:26:35 select_parallel test fails with nonstandard block size