我希望限制在浏览器树/层次结构中看到的数据库数量,因为它是一个拥有数百个数据库的 AWS 服务器。根据这个答案,我找到了如何做到这一点。但我无法编辑此字段(数据库限制)。单击、双击、右键单击等都没有运气。
我发现它说
注意:您必须确保要连接的服务器的 pg_hba.conf 文件允许来自客户端主机的连接。
在文档中。这是显而易见的答案吗?如果是这样,有没有办法让我与我不是管理员的远程服务器的 pg_hba.conf 进行交互?或者还有其他原因导致我无法编辑此字段?
我是第一次使用PostgreSQL,对它不太熟悉。当我启动 pgadmin 并输入主密码时,当我想连接到 postresql 并再次输入相同的密码时,会弹出以下错误:
无法连接到服务器:无法启动 GSSAPI 安全上下文:操作或选项不可用无法启动 GSSAPI 安全上下文:在凭证句柄中找不到所询问的机甲类型机甲的凭证致命:用户“postgres”的密码身份验证失败
这里有什么问题吗?
我正在使用 pgAdmin 4(v.4.2.6)。是否有可能让 pgAdmin 与公司代理进行通信?我们无法直接访问互联网,因为所有流量均由我们的公司代理处理。我发现无法在 pgAdmin 设置中定义我们的公司代理。
我尝试在 SSH 隧道设置中定义代理(在 v.3.1 中添加)并收到错误:“无法创建 SSH 隧道。错误:无法建立与 SSH 网关的会话”
我在没有任何设置的情况下进行了尝试,但收到错误:“无法连接到服务器:权限被拒绝(0x0000271D/10013)服务器是否在主机“URL”(IP 地址)上运行并接受端口 5432 上的 TCP/IP 连接? ”
是否有可能让 pgAdmin 在公司代理后面运行?
COPY public.performance (fl_date, mkt_carrier, mkt_carrier_fl_num, origin, origin_city_name, origin_state_abr, dest, dest_city_name, dest_state_abr, dep_delay_new, arr_delay_new, cancelled, cancellation_code, diverted, carrier_delay, weather_delay, nas_delay, security_delay, late_aircraft_delay)
FROM '/Users/akind/OneDrive/Desktop/SQL/querying-data-postgresql/OntimeCarrier.csv'
DELIMITER ','
CSV HEADER ENCODING 'UTF8'
QUOTE '\"'
ESCAPE '''';
Run Code Online (Sandbox Code Playgroud)
运行此命令后,我收到错误:COPY quote must be a single one-byte character。我尝试过在网上检查解决方案,但没有一个适合我的需求。
I get the pgadmin 4 server could not be contacted. This is the first time I installed on my computer. I tried the run as admin solution, remove the app/roaming files, restart the posgresql services, tried to modify the config.py, config_distro.py. All of it did not help. Please help thank you.
Here is the error
Python Path: "C:\Program Files\PostgreSQL\12\pgAdmin 4\python\python.exe" Runtime Config File: "C:\Users\lco73\AppData\Roaming\pgadmin\runtime_config.json" pgAdmin Config File: "C:\Program Files\PostgreSQL\12\pgAdmin 4\web\config.py" Webapp Path: "C:\Program Files\PostgreSQL\12\pgAdmin 4\web\pgAdmin4.py" pgAdmin Command: …
伙计们!我正在尝试在 pdAdmin 4 中创建本地服务器,但每次尝试创建时都会收到此错误:
[pgAdmin 错误]

如果“veterano”是我的用户名......
我尝试运行此操作(但不起作用)
检查 Postgres 服务是否安装正确:
$ sudo systemctl is-active postgresql
终端背面:
active
$ sudo systemctl is-enabled postgresql
终端背面:
enabled
$ sudo systemctl status postgresql
终端背面:
active (exited)
$ sudo pg_isready
终端背面:
/var/run/postgresql:5433 - accepting connections
我对 pg_hba.conf 的配置:
local all postgres peer
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections: …Run Code Online (Sandbox Code Playgroud) 我正在阅读本教程:PostgreSQL:https://dba.stackexchange.com/questions/149169/binary-path-in-the-pgadmin-preferences
为了设置 PostgreSQL 二进制路径,我查看了 PgAdmin 上的首选项,看到所有版本的 PostgreSQL 都更新了二进制路径,除了我实际使用的 PostgreSQL 14 之外。
请问我应该将二进制路径更新到哪里?
我已经添加了屏幕截图
我已按照本教程安装pgadmin4-web:pgAdmin 4 (APT)。
\n当我运行以下命令时
\nsudo /usr/pgadmin4/bin/setup-web.sh \nRun Code Online (Sandbox Code Playgroud)\n我收到以下错误:
\n\n\n在基于 Debian 的平台上以 Web 模式设置 pgAdmin 4\xe2\x80\xa6 创建\n配置数据库\xe2\x80\xa6 /usr/pgadmin4/bin/setup-web.sh: 第 75 行:\n/usr/pgadmin4 /venv/bin/python3:没有这样的文件或目录设置服务器模式时出错。请检查上面的输出。
\n
任何帮助将非常感谢。
\n笔记:
\n运行以下命令后(tutorial\xc2\xb4s 步骤二)
\nsudo sh -c \'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update\'\nRun Code Online (Sandbox Code Playgroud)\n我必须将内部文件 /etc/apt/sources.list.d/pgadmin4.list 从 jammy 更改为 bionic
\nfrom\ndeb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4 main\nto\ndeb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/bionic pgadmin4 main\nRun Code Online (Sandbox Code Playgroud)\n 今天早上我将本地 Postgresql 测试服务器升级到 PostgreSQL15。打开 pgAdmin 时出现警告,指出某些功能可能无法正常工作,因为我的服务器添加了 pgAdmin 版本 9。
完成步骤:
现在的情况:
尽管如此,pgAdmin 并未显示旧服务器版本 (v9) 的表列表。我无法升级此服务器,但必须像以前一样在 PgAdmin 中使用它。但我可以毫无问题地运行所有查询。
它列出了所有模式、视图和序列。但是当单击表格时,它会继续加载并且从不提供表格列表。
顺便说一下,我使用的是Windows 10 64位操作系统。
五天后,我将 Postgresql 降级到 V12,现在收到如下错误:
ERROR: column "wait_event_type" does not exist LINE 10: wait_event_type || ': ' || wait_event AS wait_event, ^
enter code here
Run Code Online (Sandbox Code Playgroud)
有人经历过这样的问题吗?需要一些帮助。提前致谢。