Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2 - Mailing list pgadmin-hackers

From Dave Page
Subject Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2
Date
Msg-id 937d27e10905050517u4a1ff1f4v210d1eb9e623054a@mail.gmail.com
Whole thread Raw
In response to pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2  (Kevin Field <kevinjamesfield@gmail.com>)
List pgadmin-hackers
On Mon, May 4, 2009 at 6:25 PM, Kevin Field <kevinjamesfield@gmail.com> wrote:
> If you pick Batch rather than SQL for "Kind", you naturally can't edit
> the database or connection string, but the SQL generated has commas
> and blanks (i.e., nothing, not even an empty string) for those
> columns, and so fails:
>
> INSERT INTO pgagent.pga_jobstep (jstid, jstjobid, jstname, jstdesc,
> jstenabled, jstkind, jstonerror, jstcode, jstdbname, jstconnstr)
>  SELECT <StpId>, 5, E'C:\\mybat.bat', '', true, 'b', 'f', E'C:\
> \mybat.bat', , ;
>
> With those options selected it should either put nulls or get rid of
> the commas and the ", jstdname, jstconnstr", right?

That was fixed here:
http://svn.pgadmin.org/cgi-bin/viewcvs.cgi?rev=7800&view=rev

It'll be in beta 2.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r7844 - trunk/pgadmin3/pgadmin/include/frm
Next
From: Dave Page
Date:
Subject: Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2