How to turn on pgScript in pgAdmin

From: slavrenz <slavrenz(at)outlook(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: How to turn on pgScript in pgAdmin
Date: 2015-02-09 21:25:14
Message-ID: 1423517114441-5837274.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I have been using pgAdmin for a while, and I am looking for a way to declare
variables within the program (on the SQL Editor side, not the Graphical
Query side). pgScript appears to be the answer, but I cannot get it to work.

When I try a simple variable declaration (e.g., DECLARE @StartDate;) it
returns a syntax error. I'm guessing this is because pgScript is not enabled
for some reason. Is there anything that I need to do to "turn on" this
feature in pgAdmin 1.18? I have tried searching online and through this
forum, but all of the "how to" posts seem to assume that you already have
everything up and running.

Thanks in advance!

--
View this message in context: http://postgresql.nabble.com/How-to-turn-on-pgScript-in-pgAdmin-tp5837274.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2015-02-09 21:32:43 Re: How to turn on pgScript in pgAdmin
Previous Message Will Anderson 2015-02-09 15:02:53 1.20.0 crashes when changing query editor font size in OSX Yosemite