如何在 pgAdmin 中使用 Apache AGE 扩展?

问题描述 投票:0回答:2

有什么办法可以让我在 pgAdmin 中使用 Apache AGE 扩展吗?

postgresql pgadmin apache-age
2个回答
0
投票

你只需要:

  • 安装AGE
  • 使用
    psql -U username dbname
  • 登录到postgres服务器
  • 奔跑
    CREATE EXTENSION AGE;
  • LOAD 'age';
  • SET search_path = ag_catalog, "$user", public
    ;

然后你应该可以在 pgAdmin 中使用 AGE 扩展,因为它是一个 IDE。

我还找到了这个关于在 pgAdmin 中安装扩展的答案。


0
投票

是的,你可以做到。

  1. 首先在您的机器上下载并安装Apache AGE。如果您在安装 apache age 时需要帮助,请阅读this.

  2. 然后在本地机器或服务器上安装 pgAdmin。您可以从官方网站下载pgAdmin。

  3. 右键单击数据库并选择“查询工具”以打开 SQL 编辑器。

  4. 在 SQL 编辑器中,运行“CREATE EXTENSION age;”没有引号。

    您现在可以在 SQL 查询中使用 Apache AGE 命令和函数来执行与图形相关的操作。

© www.soinside.com 2019 - 2024. All rights reserved.