0

こんにちは、postgres 9.2.1 (ipv4 & ipv6) を使用して Windows 2008 で pgagent を実行するには、少し助けが必要です。

サーバー (リモート デスクトップ) にログインして、ジョブを実行しようとしています。

ジョブからの出力を確認すると:

SELECT j.jobname, s.jstname, l.jslstart, l.jslduration, l.jsloutput
   FROM pgagent.pga_jobsteplog l
   JOIN pgagent.pga_jobstep s ON s.jstid = l.jsljstid
   JOIN pgagent.pga_job j ON j.jobid = s.jstjobid
  WHERE l.jslstart > 'now'::text::date
  ORDER BY j.jobname, s.jstname, l.jslstart DESC;

私はjsloutputでこれを取得します=データベースへの接続を取得できませんでした!

pgadminIII を使用してジョブを確認する場合:

Enabled = checked
Connection type = local
Database = cachedb
Connection string = (It's empty can't fill when using local connection type)
Kind = sql
(doesn't help to select remote connection and fill the connection string)

これは私の pg_hba.conf です

# TYPE  DATABASE        USER            ADDRESS                 METHOD
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
host    all             all             0.0.0.1/0            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5

私が見逃しているものは何か分かりますか??

  • ニールス
4

1 に答える 1