Implement remaining fields of information_schema.sequences view

Peter Eisentraut <peter_e@gmx.net>

Commit: 39b88432968a2f4c01c20948f12bf9c8e388474d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-01-02T13:15:21Z
Releases: 9.1.0
Implement remaining fields of information_schema.sequences view

Add new function pg_sequence_parameters that returns a sequence's start,
minimum, maximum, increment, and cycle values, and use that in the view.
(bug #5662; design suggestion by Tom Lane)

Also slightly adjust the view's column order and permissions after review of
SQL standard.

Files