---
title: "💭 Delete a Postgres Cluster · Fly Docs"
description: "!https://fly.io/docs/postgres/managing/deleting/"
date: 2023-10-17
published: true
tags:
  - infra
  - fly
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://fly.io/docs/postgres/managing/deleting/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://og-images.fly.dev/image?template=light&amp;text=Delete+a+Postgres+Cluster" alt="Delete a Postgres Cluster — Documentation and guides from the team at Fly.io." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Delete a Postgres Cluster</div>
      <div class="embed-card-description">Documentation and guides from the team at Fly.io.</div>
      <div class="embed-card-meta">Fly &middot; fly.io</div>
    </div>
  </a>
</div>


Deleting a fly postgres db cluster was not straightforward to me as the app name is not inferred from the toml like it is for the main app.


``` bash
fly apps destroy <pg-app-name>
fly pg db list -a <pg-app-name>
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
