diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-11-18 12:00:00 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-11-18 14:59:03 -0500 |
commit | 67dc4ccbb2e1c27da823eced66d9217a5652cbb0 (patch) | |
tree | a761b8c65e08543c96680c1f0a26410b2f5bb93e /src/backend/parser/parse_target.c | |
parent | 8f91f323b4feef0371cd3db51be3007e44abd5e8 (diff) | |
download | postgresql-67dc4ccbb2e1c27da823eced66d9217a5652cbb0.tar.gz postgresql-67dc4ccbb2e1c27da823eced66d9217a5652cbb0.zip |
Add pg_sequences view
Like pg_tables, pg_views, and others, this view contains information
about sequences in a way that is independent of the system catalog
layout but more comprehensive than the information schema.
To help implement the view, add a new internal function
pg_sequence_last_value() to return the last value of a sequence. This
is kept separate from pg_sequence_parameters() to separate querying
run-time state from catalog-like information.
Reviewed-by: Andreas Karlsson <andreas@proxel.se>
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions