Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bebe5aca
Commit
bebe5aca
authored
Apr 18, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add how to get database/user listing information.
parent
cfa72faf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
doc/FAQ
doc/FAQ
+7
-5
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+8
-6
No files found.
doc/FAQ
View file @
bebe5aca
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated:
Wed Apr 17 22:48:04
EDT 2002
Last updated:
Thu Apr 18 00:44:51
EDT 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
@@ -63,8 +63,8 @@
4.5) What is the maximum size for a row, a table, and a database?
4.6) How much database disk space is required to store data from a
typical text file?
4.7) How do I find out what tables
or indexes are defined in th
e
d
atabase
?
4.7) How do I find out what tables
, indexes, databases, and users ar
e
d
efined
?
4.8) My queries are slow or don't make use of the indexes. Why?
4.9) How do I see how the query optimizer is evaluating my query?
4.10) What is an R-tree index?
...
...
@@ -697,10 +697,12 @@
Indexes do not require as much overhead, but do contain the data that
is being indexed, so they can be large also.
4.7) How do I find out what tables or indexes are defined in the database?
4.7) How do I find out what tables, indexes, databases, and users are
defined?
psql has a variety of backslash commands to show such information. Use
\? to see them.
\? to see them. There are also system tables beginning with pg_ that
describe these too. Also, psql -l will list all databases.
Also try the file pgsql/src/tutorial/syscat.source. It illustrates
many of the SELECTs needed to get information from the database system
...
...
doc/src/FAQ/FAQ.html
View file @
bebe5aca
...
...
@@ -14,7 +14,7 @@
alink=
"#0000ff"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated:
Wed Apr 17 22:48:04
EDT 2002
</P>
<P>
Last updated:
Thu Apr 18 00:44:51
EDT 2002
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
...
@@ -96,8 +96,8 @@
table, and a database?
<BR>
<A
href=
"#4.6"
>
4.6
</A>
) How much database disk space is required
to store data from a typical text file?
<BR>
<A
href=
"#4.7"
>
4.7
</A>
) How do I find out what tables
or indexes
are defined in the database
?
<BR>
<A
href=
"#4.7"
>
4.7
</A>
) How do I find out what tables
, indexes,
databases, and users are defined
?
<BR>
<A
href=
"#4.8"
>
4.8
</A>
) My queries are slow or don't make use of
the indexes. Why?
<BR>
<A
href=
"#4.9"
>
4.9
</A>
) How do I see how the query optimizer is
...
...
@@ -893,11 +893,13 @@
<P>
Indexes do not require as much overhead, but do contain the data
that is being indexed, so they can be large also.
</P>
<H4><A
name=
"4.7"
>
4.7
</A>
) How do I find out what tables
or indexes
are defined in the database
?
</H4>
<H4><A
name=
"4.7"
>
4.7
</A>
) How do I find out what tables
, indexes,
databases, and users are defined
?
</H4>
<P><I>
psql
</I>
has a variety of backslash commands to show such
information. Use \? to see them.
</P>
information. Use \? to see them. There are also system tables
beginning with
<i>
pg_
</i>
that describe these too. Also,
<i>
psql
-l
</i>
will list all databases.
</P>
<P>
Also try the file
<I>
pgsql/src/tutorial/syscat.source
</I>
. It
illustrates many of the
<SMALL>
SELECT
</SMALL>
s needed to get
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment