deepak <deepak.pn@gmail.com> writes:
> I find that one can't have a prepared statement with bind parameters for a
> DDL statement,
Nope. DDL commands generally don't have any support for evaluating
expressions, which would be the context in which parameters would
be useful. Nor have they got plans, which would be the requirement
for prepared statements to be good for much either.
regards, tom lane