October archive

Prepared statements in Psycopg

Posted by Daniele Varrazzo on October 1, 2012

Although the libpq library supports prepared statements, psycopg2 doesn't offer yet a direct way to access the relevant functions. This will probably change in the future, but in the meantime it is possible to use prepared statements in PostgreSQL using the PREPARE SQL command.

Read more...