Unix Technical Forum

pgagent.sql script

This is a discussion on pgagent.sql script within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> Hi, I cannot run the pgAgent.sql script. I always got this error: “ERROR: syntax error at or near "$" ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:25 PM
Renaud Fortier
 
Posts: n/a
Default pgagent.sql script

Hi,

I cannot run the pgAgent.sql script. I always got this error: “ERROR:
syntax error at or near "$" at character 23556”. This line only contains
this: $BODY$



I’m using pgAdmin 1.4.2 on a French Windows XP (I’m running
pgAdmin in English). My server is a v7.4.7 on a Debian Sarge box. I’m having
similar problem when a try to run Slony-I scripts from my pgAdmin client.



Is it possible to run these scripts from my Windows Box?



Thank you



Renaud Fortier
Technicien en informatique
Faculté des sciences de l'agriculture
et de l'alimentation - Direction
Pavillon Paul-Comtois, local 3443
Université Laval
Québec, Canada
G1K 7P4
Téléphone .... (418)656-2131, poste 4789
Télécopieur .. (418)656-7806
Courriel ..... <mailto:renaud.fortier@fsaa.ulaval.ca>
renaud.fortier@fsaa.ulaval.ca
Courriel ..... <mailto:rfortier@c2000.fsaa.ulaval.ca>
rfortier@c2000.fsaa.ulaval.ca




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:25 PM
Andreas Pflug
 
Posts: n/a
Default Re: pgagent.sql script

Renaud Fortier wrote:
>
> Hi,
>
> I cannot run the pgAgent.sql script. I always got this error: “ERROR:
> syntax error at or near "$" at character 23556”. This line only
> contains this: $BODY$
>
> I’m using pgAdmin 1.4.2 on a French Windows XP (I’m running pgAdmin in
> English). My server is a v7.4.7 on a Debian Sarge box. I’m having
> similar problem when a try to run Slony-I scripts from my pgAdmin client.
>

The $$ escaping was introduced in pgsql 8.0. While pgAgent should be
runnable on 7.3+, there might be other good reasons to upgrade to 8.0 or
even better 8.1.

Regards,
Andreas


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com