Index: func.sgml =================================================================== RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v retrieving revision 1.211 diff -u -r1.211 func.sgml --- func.sgml 25 Jun 2004 17:20:21 -0000 1.211 +++ func.sgml 1 Jul 2004 18:38:34 -0000 @@ -7232,6 +7232,10 @@ pg_get_serial_sequence + + pg_tablespace_databases + + lists functions that extract information from the system catalogs. @@ -7325,6 +7329,11 @@ get name of the sequence that a serial or bigserial column uses + + pg_tablespace_databases(namespace_oid) + setof oid + get set of database oids that have objects in the namespace + @@ -7360,6 +7369,16 @@ for passing to the sequence functions (see ). NULL is returned if the column does not have a sequence attached. + + + + pg_tablespace_databases allows usage examination of a + tablespace. It will return a set of database oids, that have objects + stored in the tablespace. If this function returns any row, the + tablespace is assumed not to be empty and cannot be dropped. To + display the actual objects populating the tablespace, you will need + to connect to the databases returned by + pg_tablespace_databases to query pg_class.