Add pg_sequence system catalog

Peter Eisentraut <peter_e@gmx.net>

Commit: 1753b1b027035029c2a2a1649065762fafbf63f3
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-12-20T13:28:18Z
Releases: 10.0
Add pg_sequence system catalog

Move sequence metadata (start, increment, etc.) into a proper system
catalog instead of storing it in the sequence heap object.  This
separates the metadata from the sequence data.  Sequence metadata is now
operated on transactionally by DDL commands, whereas previously
rollbacks of sequence-related DDL commands would be ignored.

Reviewed-by: Andreas Karlsson <andreas@proxel.se>

Files

Documentation touched