Re: : Execute a string of command in sql'script

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "pblunat" <pblunat(at)ujf-grenoble(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: : Execute a string of command in sql'script
Date: 2001-01-29 15:30:55
Message-ID: 24502.980782255@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"pblunat" <pblunat(at)ujf-grenoble(dot)fr> writes:
> Is it possible to execute this line of command? More generally, can one
> execute the contents of a variable or a field in postgresql' script?

Not in plpgsql (at least not till 7.1), but you could do it in pltcl
or plperl.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-01-29 15:41:15 Re: Re[8]: SPI_getvalue problem
Previous Message Alex Guryanow 2001-01-29 15:29:34 Re[8]: SPI_getvalue problem