Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
c7be7ffd
Commit
c7be7ffd
authored
22 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Here is a documentation patch for the pg_settings virtual table. If
there are no objections, please apply. Joe Conway
parent
6aa4482f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/catalogs.sgml
+62
-1
62 additions, 1 deletion
doc/src/sgml/catalogs.sgml
with
62 additions
and
1 deletion
doc/src/sgml/catalogs.sgml
+
62
−
1
View file @
c7be7ffd
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.5
6
2002/0
8/30 19:23:18 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.5
7
2002/0
9/02 05:44:43 momjian
Exp $
-->
<chapter id="catalogs">
...
...
@@ -161,6 +161,11 @@
<entry>database users</entry>
</row>
<row>
<entry>pg_settings</entry>
<entry>current session run-time parameters</entry>
</row>
<row>
<entry>pg_statistic</entry>
<entry>optimizer statistics</entry>
...
...
@@ -2866,6 +2871,62 @@
</sect1>
<sect1 id="catalog-pg-settings">
<title>pg_settings</title>
<para>
<structname>pg_settings</structname> virtual table allows display and update
of current session run-time parameters. There is one entry for each of the
available parameters provided by <command>SHOW ALL</command>. But it is
in a form that allows it to be joined with other relations and have a
selection criteria applied.
</para>
<para>
An <command>UPDATE</command> performed on <structname>pg_settings</structname>
is equivalent to executing the <command>SET</command> command on that named
parameter. The change only affects the value used by the current session. If
an <command>UPDATE</command> is issued within a transaction that is later
aborted, the effects of the <command>UPDATE</command> command disappear when
the transaction is rolled back. Once the surrounding transaction is
committed, the effects will persist until the end of the session, unless
overridden by another <command>UPDATE</command> or <command>SET</command>.
</para>
<table>
<title>pg_settings Columns</title>
<tgroup cols=4>
<thead>
<row>
<entry>Name</entry>
<entry>Type</entry>
<entry>References</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>name</entry>
<entry><type>text</type></entry>
<entry></entry>
<entry>The name of a current session run-time parameter</entry>
</row>
<row>
<entry>setting</entry>
<entry><type>text</type></entry>
<entry></entry>
<entry>The value of a current session run-time parameter</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="catalog-pg-statistic">
<title>pg_statistic</title>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment