# Include external PostgreSQL tablespaces in the cluster dependency inventory

> Keep external tablespace paths with the database cluster recovery inventory.

- Canonical URL: https://update.dsesecurity.com/updates/include-external-postgresql-tablespaces-in-the-cluster-dependency-inventory/
- Publisher: Detection Systems & Engineering (DSE Security)
- Author: DSE Security Editorial Team
- Published: 2026-10-15T13:32:40+00:00
- Modified: 2026-10-15T13:36:15+00:00
- Last reviewed by DSE: 2026-10-15
- Resource type: Guide
- DSE priority: Information
- Topics: Business Continuity, IT
- Reading time: 2 minutes

## What you need to know

Keep external tablespace paths with the database cluster recovery inventory.

## Potentially affected

This applies to PostgreSQL 17 storage layout and recovery inventory. It addresses external tablespace dependencies, rather than endorsing manual filesystem-link changes or independent tablespace recovery.

## DSE recommendation

DSE recommends keeping a tablespace map with the cluster's storage and backup records.

## Article

Keep external tablespace paths with the database cluster recovery inventory.

## Source facts

PostgreSQL 17 tablespaces may live outside the main data directory, but they remain integral parts of the cluster. They depend on metadata in that directory and cannot be attached to another cluster or backed up as autonomous database files. Losing a tablespace can make the cluster unreadable or unable to start. PostgreSQL tracks nondefault tablespace locations through links in pg_tblspc, and the documented location for a new tablespace must be an existing empty directory owned by its operating-system user.

Source: [PostgreSQL 17 — Tablespaces](https://www.postgresql.org/docs/17/manage-ag-tablespaces.html).

## Applicability

This applies to PostgreSQL 17 storage layout and recovery inventory. It addresses external tablespace dependencies, rather than endorsing manual filesystem-link changes or independent tablespace recovery.

## DSE recommendation

DSE recommends keeping a tablespace map with the cluster’s storage and backup records. Include its location, storage owner, intended objects, mount dependency, and recovery destination. Review that map whenever data is moved to a different tier or a mount is retired. Ask the recovery operator to identify every required path before startup. Avoid treating a small main data directory as evidence that most of the database lives safely somewhere else without a corresponding dependency record.

## Verification

Compare the catalog’s tablespace list with the operating-system paths and backup inventory in a read-only review. Rehearse recovery of the complete cluster with those paths present. Confirm intended objects can be read and document any deliberately remapped locations before accepting the recovered service.

## Official reference

[PostgreSQL 17 — Tablespaces](https://www.postgresql.org/docs/17/manage-ag-tablespaces.html). Reviewed October 15, 2026.

## Primary reference

- Name: PostgreSQL 17 — Tablespaces
- Authority: www.postgresql.org
- URL: https://www.postgresql.org/docs/17/manage-ag-tablespaces.html
- Source publication date: Not stated by the source

## Citation and use

Preferred citation: “Include external PostgreSQL tablespaces in the cluster dependency inventory,” DSE Security, https://update.dsesecurity.com/updates/include-external-postgresql-tablespaces-in-the-cluster-dependency-inventory/
Publishing principles: https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/
Usage and citation policy: https://update.dsesecurity.com/usage/
Copyright © 2026 Detection Systems & Engineering. All rights reserved.
