parameters - Search results

2022-01-06 09:37:20 | Re: psycopg3 - parameters cannot be used for DDL commands? (Les)

Okay I was wrong. I just did not know that it existed in psycopg3. There

2022-01-05 17:28:37 | Re: psycopg3 - parameters cannot be used for DDL commands? (Les)

Well okay, I'm obviously using python. psycopg3 does not have an escape function, they

2022-01-05 17:20:36 | Re: psycopg3 - parameters cannot be used for DDL commands? (Dmitry Igrishin)

parameter into an arbitrary part of SQL expression by using Sql_string::replace() method. For example

2022-01-05 17:19:12 | Re: psycopg3 - parameters cannot be used for DDL commands? (Les)

Ok, thanks! Tom Lane ezt írta (időpont: 2022. jan. 5., Sze, 18:07):

2022-01-05 17:07:47 | Re: psycopg3 - parameters cannot be used for DDL commands? (Tom Lane)

parameters can only be used in DML commands (SELECT/INSERT/UPDATE/DELETE). Utility commands don't support them

2022-01-05 16:42:31 | psycopg3 - parameters cannot be used for DDL commands? (Les)

parameters to do this, then how should I quote them in a safe way? Thank