Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2
Дата
Msg-id 937d27e10905050517u4a1ff1f4v210d1eb9e623054a@mail.gmail.com
обсуждение исходный текст
Ответ на pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2  (Kevin Field <kevinjamesfield@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7844 - trunk/pgadmin3/pgadmin/include/frm
Следующее
От: Dave Page
Дата:
Сообщение: Re: pgAgent "new step" fails for batch jobs in pgAdmin3 1.10.0 Beta 2