Re: Proposal: USING clause for DO statement - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Proposal: USING clause for DO statement
Date
Msg-id 4B082516.3040009@dunslane.net
Whole thread Raw
In response to Re: Proposal: USING clause for DO statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Proposal: USING clause for DO statement  (Merlin Moncure <mmoncure@gmail.com>)
Re: Proposal: USING clause for DO statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Pavel Stehule wrote:
> I would to use this
> statement for some non trivial maintenance tasks - and I would to use
> external parameter (from command line). My question is - what is a
> good way for passing some value (from command line) to DO statement
> body? I accept any mechanism.
>
>   

See my earlier comment:

> Perhaps part of the problem is that psql can't interpolate its 
> variable into strings. Solving that might lessen the impetus for this, 
> and have other uses besides.


cheers

andrew



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Proposal: USING clause for DO statement
Next
From: Heikki Linnakangas
Date:
Subject: Hot standby and removing VACUUM FULL