我正在使用 Postgres 9 和 Delphi 7 作为前端的应用程序,为了建立与应用程序的数据库连接,我们必须执行以下步骤
1.在postgres中注册一个服务器(我不能发布图像,因为我是新用户)
Name:=Localhost
Host:=Localhost
Port:=5432
SSL:=
MaintenanceDB:=myDB
Username:=Admin
password:=******
.
.
Service:=Localhost
2.创建数据库和表。
谁能告诉我步骤 1. 是否可以以编程方式完成?例如 "C:\Program Files\PostgreSQL\9.0\bin\psql.exe" -h localhost -p 5432 -d myDB -U Admin Service=Localhost ?
截至目前,它由用户手动完成。
提前致谢:)