mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix pg_indexes view so that it shows the index's tablespace not the
parent table's tablespace, as per gripe from Michael Kleiser. Choose a more plausible column order for this view and pg_tables. Update documentation of these views, which was missed in original patch.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<!--
|
||||
Documentation of the system catalogs, directed toward PostgreSQL developers
|
||||
$PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.89 2004/07/04 23:34:23 tgl Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.90 2004/10/11 17:24:39 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="catalogs">
|
||||
@ -3932,6 +3932,12 @@
|
||||
<entry><literal><link linkend="catalog-pg-class"><structname>pg_class</structname></link>.relname</literal></entry>
|
||||
<entry>name of index</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>tablespace</structfield></entry>
|
||||
<entry><type>name</type></entry>
|
||||
<entry><literal><link linkend="catalog-pg-tablespace"><structname>pg_tablespace</structname></link>.spcname</literal></entry>
|
||||
<entry>name of tablespace containing index (NULL if default for database)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>indexdef</structfield></entry>
|
||||
<entry><type>text</type></entry>
|
||||
@ -4449,6 +4455,12 @@
|
||||
<entry><literal><link linkend="catalog-pg-shadow"><structname>pg_shadow</structname></link>.usename</literal></entry>
|
||||
<entry>name of table's owner</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>tablespace</structfield></entry>
|
||||
<entry><type>name</type></entry>
|
||||
<entry><literal><link linkend="catalog-pg-tablespace"><structname>pg_tablespace</structname></link>.spcname</literal></entry>
|
||||
<entry>name of tablespace containing table (NULL if default for database)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><structfield>hasindexes</structfield></entry>
|
||||
<entry><type>boolean</type></entry>
|
||||
|
Reference in New Issue
Block a user