pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: a <372660931@qq.com>
To: Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: where I can find the error message for pgagent jobs
Date: Mon, 11 Jun 2018 12:42:54 +0800
Message-ID: <tencent_717D21B73BA5A2652D578BB4@qq.com> (raw)
In-Reply-To: <CAG7mmowEqBQKM6CPNV4Ehmn4ifNXqgqiA3Uv5nm5rw_Xrw34iw@mail.gmail.com>
References: <tencent_085A310B25826DD17866A8E6@qq.com>
	<CAG7mmozGO4XyMRmVEzf9JSThDeELzW+MjzX0eNKcoJ9J0w9htA@mail.gmail.com>
	<tencent_0FFFEFEE0E89E97654DFC176@qq.com>
	<CAG7mmowEqBQKM6CPNV4Ehmn4ifNXqgqiA3Uv5nm5rw_Xrw34iw@mail.gmail.com>

Hey, the following is the table :
1	1	1	"f"	1	"2018-06-11 11:38:33.163731+08"	"00:00:00.033002"	"Couldn't get a connection to the database!"
2	2	1	"f"	1	"2018-06-11 11:45:03.406061+08"	"00:00:00.033002"	"Couldn't get a connection to the database!"
3	3	1	"f"	1	"2018-06-11 11:46:53.543062+08"	"00:00:00.034002"	"Couldn't get a connection to the database!"
4	63	1	"f"	1	"2018-06-11 12:19:06.21886+08"	"00:00:00.033002"	"Couldn't get a connection to the database!"
5	147	1	"f"	-1	"2018-06-11 12:35:10.29625+08"	"00:00:00.046003"	"ERROR:  column "?¤???????????????·" does not exist
LINE 4:  ?¤???????????????·,  
         ^"
6	148	1	"f"	-1	"2018-06-11 12:36:30.354773+08"	"00:00:00.040002"	"ERROR:  column "?¤???????????????·" does not exist
LINE 4:  ?¤???????????????·,  
         ^"
7	149	1	"s"	0	"2018-06-11 12:42:05.508192+08"	"00:00:00.69604"	



I actually restarted the service and it works. But the chinese character is the pain in ass........




------------------ Original message ------------------
From: "Ashesh Vashi"; 
Sendtime: Monday, Jun 11, 2018 1:03 PM
To: "a"<372660931@qq.com>; 
Cc: "pgsql-general"; 
Subject: Re: where I can find the error message for pgagent jobs



On Mon, Jun 11, 2018 at 9:56 AM, a <372660931@qq.com> wrote:





Hey thanks so much.


I found the error msg as "Couldn't get a connection to the database!"


I've searched internet with the issue, some may say replace pgpass.conf as follow:


"localhost:5432:[dbname]:postgres:[password]"


but after I changed, the job returns a "i" as last result, which is a internal failure if I'm not wrong. 



do you have any idea of how to get it work?

Please share the content of the table: 'pgagent.pga_jobsteplog'.


-- Thanks, Ashesh


------------------ Original ------------------
From:  "Ashesh Vashi";<ashesh.vashi@enterprisedb.com>;
Send time: Monday, Jun 11, 2018 12:39 PM
To: "a"<372660931@qq.com>; 
Cc: "pgsql-general"<pgsql-general@postgresql.org>; 
Subject:  Re: where I can find the error message for pgagent jobs





Please use "pgadmin-support@postgresql.org" for any pgAdmin/pgAgent related questions, bugs.






On Mon, Jun 11, 2018 at 9:33 AM, a <372660931@qq.com> wrote:
Hi all

I set up a pgagent job, but it says the job was failed.


But where I can have a look on error report message??


I'm using pgadmin 4.3, pgagent 3.4, postgresql 10, the platform is windows server 2008
You can find them in window's EventViewer.


-- Thanks, Ashesh 


Thank you so much.

view thread (6+ messages)  latest in thread

Message-ID: <tencent_717D21B73BA5A2652D578BB4@qq.com>
Permalink:  ../tencent_717D21B73BA5A2652D578BB4@qq.com/
Also on:    postgresql.org/message-id/tencent_717D21B73BA5A2652D578BB4@qq.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: 372660931@qq.com, ashesh.vashi@enterprisedb.com
  Subject: Re: where I can find the error message for pgagent jobs
  In-Reply-To: <tencent_717D21B73BA5A2652D578BB4@qq.com>
  References: <tencent_085A310B25826DD17866A8E6@qq.com> <CAG7mmozGO4XyMRmVEzf9JSThDeELzW+MjzX0eNKcoJ9J0w9htA@mail.gmail.com> <tencent_0FFFEFEE0E89E97654DFC176@qq.com> <CAG7mmowEqBQKM6CPNV4Ehmn4ifNXqgqiA3Uv5nm5rw_Xrw34iw@mail.gmail.com> <tencent_717D21B73BA5A2652D578BB4@qq.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox