Any way to execute ad-hoc pl/pgsql? - Mailing list pgsql-general

From Carlo Stonebanks
Subject Any way to execute ad-hoc pl/pgsql?
Date
Msg-id gte14n$4oe$1@news.hub.org
Whole thread Raw
Responses Re: Any way to execute ad-hoc pl/pgsql?
Re: Any way to execute ad-hoc pl/pgsql?
Re: Any way to execute ad-hoc pl/pgsql?
List pgsql-general
One of our developers asked me, "is there any way to execute arbitrary
plpgsql"? By that I beleive he means: is there some way to execute ad-hoc
pl/pgsql code without creating a stored procedure or a function?

I believe MS SQL Server can do this - has any one heard of some sort of
command shell to do this for PG?

(I suppose one possibility would be something that created a temporary
stored proc to execute the code, then cleaned up after itself.)

Carlo


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Understand this error
Next
From: Michele Petrazzo - Unipex
Date:
Subject: pg_dump and pg_restore problem