Lussier, Denis wrote
> Don't use prepared statements for DDL.
Parameters only handle values, not identifiers. DDL deals exclusively with
identifiers. So while you can use prepared statements you cannot
parameterize them - so the prepared aspect becomes fairly useless except for
consistency if you have some sort of wrapper layer making use of them.
David J.
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/How-to-implement-a-dynamic-string-into-a-sql-statement-tp5816355p5816359.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.