problem polega chyba na tym że kreator w pgAdmin do ustawienia zadania buduje takie polecenia SQL
INSERT INTO pgagent.pga_job (jobid, jobjclid, jobname, jobdesc, jobenabled, jobhostagent)
SELECT <JobId>, jcl.jclid, 'zadanie', '', true, ''
FROM pgagent.pga_jobclass jcl WHERE jclname='Routine Maintenance';
INSERT INTO pgagent.pga_jobstep (jstid, jstjobid, jstname, jstdesc, jstenabled, jstkind, jstonerror, jstcode, jstdbname)
SELECT <StpId>, <JobId>, 'k1', '', true, 's', 'f', 'DROP TABLE "0001";
DROP TABLE "0001_actual";
DROP TABLE "0001_history";
DROP TABLE "0001_on_off_info";
DROP TABLE "0001_set_value_info";
DROP TABLE "0001_w";
', 'baza2';
INSERT INTO pgagent.pga_schedule (jscid, jscjobid, jscname, jscdesc, jscminutes, jschours, jscweekdays, jscmonthdays, jscmonths, jscenabled, jscstart, jscend)
VALUES(<SchId>, <JobId>, 'p1', '', '{t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f,t,f,f,f,f}', '{f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f}', '{f,f,f,f,f,f,f}', '{f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f}', '{f,f,f,f,f,f,f,f,f,f,f,f}', true, '2009-04-01 00:00:00', NULL);
ale przy zatwierdzeniu na OK nie wpisują się te dane do tabel próbowałem wpisać ręcznie ale wyskakuje błąd dotyczący ostrych nawiasów