File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -530,9 +530,11 @@ CREATE TABLE foo(i int);
530
530
<link linkend="catalog-pg-tablespace"><structname>pg_tablespace</structname>
531
531
</link> system catalog, for example
532
532
<synopsis>
533
- SELECT spcname FROM pg_tablespace;
533
+ SELECT spcname, spcowner::regrole, pg_tablespace_location(oid) FROM pg_tablespace;
534
534
</synopsis>
535
- The <xref linkend="app-psql"/> program's <literal>\db</literal> meta-command
535
+ It is possible to find which databases use which tablespaces;
536
+ see <xref linkend="functions-info-catalog-table"/>. The <xref
537
+ linkend="app-psql"/> program's <literal>\db</literal> meta-command
536
538
is also useful for listing the existing tablespaces.
537
539
</para>
538
540
@@ -541,10 +543,7 @@ SELECT spcname FROM pg_tablespace;
541
543
point to each of the non-built-in tablespaces defined in the cluster.
542
544
Although not recommended, it is possible to adjust the tablespace
543
545
layout by hand by redefining these links. Under no circumstances perform
544
- this operation while the server is running. Note that in PostgreSQL 9.1
545
- and earlier you will also need to update the <structname>pg_tablespace</structname>
546
- catalog with the new locations. (If you do not, <literal>pg_dump</literal> will
547
- continue to output the old tablespace locations.)
546
+ this operation while the server is running.
548
547
</para>
549
548
550
549
</sect1>
You can’t perform that action at this time.
0 commit comments