# SQLPro for Postgres

一款适用于 macOS 的 PostgreSQL 客户端，可用于创建表、编写查询并查看多个查询的结果。

> 这是 OpenNavo 上 SQLPro for Postgres 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/sqlpro-for-postgres>

- **最新版本**: `2026.331`
- **开发者**: Hankinsoft Development, Inc.
- **主页**: <https://www.macpostgresclient.com/SQLProPostgres>
- **分类**: [数据库](https://opennavo.com/zh/categories/databases)
- **安装**: `brew install --cask sqlpro-for-postgres`
- **近 30 天安装**: 7
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://d3fwkemdw8spx3.cloudfront.net/postgres/SQLProPostgres.2026.331.dmg>
- **SHA-256**: `c84d33aabd087127bfca8cf96c41610db86557f30f488231f9ea67d4c12d6beb`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "SQLPro for Postgres.app"
      ],
      "target": "/Applications/SQLPro for Postgres.app"
    },
    "phase": "install",
    "sources": [
      "SQLPro for Postgres.app"
    ],
    "target": "/Applications/SQLPro for Postgres.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Scripts/com.hankinsoft.osx.SQLProPostgres",
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.hankinsoft.osx.sqlpropostgres.sfl*",
            "~/Library/Containers/com.hankinsoft.osx.sqlpropostgres"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

SQLPro for Postgres 是一款用于在 macOS 上管理 PostgreSQL 数据库的图形客户端。它将常见数据库操作集中在一个界面中，包括表设计和 SQL 查询。

- 创建和更新表，并编写自定义查询；提供 SQL 语法高亮和自动补全。
- 运行多个查询，并同时查看各自的结果集、错误和消息。
- 在查询结果中选择单个单元格或多个单元格，而不必只能选择整行。
- 通过图形界面处理常见的 PostgreSQL 数据库操作。

安装 Homebrew cask 时，运行 `brew install --cask sqlpro-for-postgres`，然后从“应用程序”中打开 SQLPro for Postgres。该 cask 要求 macOS 14 或更高版本。

[官方产品页面](https://www.macpostgresclient.com/SQLProPostgres) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/s/sqlpro-for-postgres.rb)

## 系统要求

- macOS 14 起 · 应用版本: 2026.331 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 核查于 2026-11-29
  - <https://d3fwkemdw8spx3.cloudfront.net/postgres/SQLProPostgres.2026.331.dmg>
  - SHA-256: `c84d33aabd087127bfca8cf96c41610db86557f30f488231f9ea67d4c12d6beb`
- macOS 14 起 · 应用版本: 2026.331 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 核查于 2026-11-29
  - <https://d3fwkemdw8spx3.cloudfront.net/postgres/SQLProPostgres.2026.331.dmg>
  - SHA-256: `c84d33aabd087127bfca8cf96c41610db86557f30f488231f9ea67d4c12d6beb`

## 价格

- 免费下载 · US$0.00 (美国) — Mac App Store: <https://apps.apple.com/us/app/sqlpro-for-postgresql/id976140091?mt=12> · <https://apps.apple.com/us/app/sqlpro-for-postgresql/id976140091?mt=12> · 核查于 2026-11-29 · 这是 App Store 版的下载价格，不代表可以免费使用；应用内购买和订阅不在其中。

## 卸载

- `brew uninstall --cask sqlpro-for-postgres`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask sqlpro-for-postgres`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Scripts/com.hankinsoft.osx.SQLProPostgres` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-29；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.hankinsoft.osx.sqlpropostgres.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-29；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Containers/com.hankinsoft.osx.sqlpropostgres` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-29；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 资料与来源

- <https://opennavo.com/zh/apps/sqlpro-for-postgres>
- <https://opennavo.com/zh/apps/sqlpro-for-postgres/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/sqlpro-for-postgres.rb> · 核查于 2026-11-29
- <https://formulae.brew.sh/cask/sqlpro-for-postgres>
- <https://apps.apple.com/us/app/sqlpro-for-postgresql/id976140091?mt=12> · 核查于 2026-11-29
