我试图在Debian系统上将PostgreSQL从11升级到13,但失败了。我有一个需要升级的集群:Ver Cluster Port Status Owner Data directoryLog file
11 main 5432 online postgres /var/lib/postgresql/11/main /var/log/postgresql
还有另外一个postgresql@.service文件,但是为什么这个文件会存在呢?是的,这是整个文件。# systemd service for managing all PostgreSQL clusters on the system.[Unit]Type=oneshotExecReload=/bin/true
我正在尝试当地的Kubernetes(码头上的mac),并试图提交一个火花的工作.火花作业,连接到一个PostgreSQL数据库并进行一些计算。PostgreSQL正在我的Kube上运行,自从我发布了它,我就可以通过localhost:5432从主机访问它。但是,当星火应用程序试图连接到PostgreSQL时,它会抛出
Exception in thread "main" org.postgresql.util.PSQLException: Connectionthat the hostname and