pg8000 Can't Parameterize Queries
问题 I've been trying to use pg8000 to interact with my SQL server, but for some reason, it won't accept params properly. It does seem to recognize the paramstyle, and then knows to change those to the PostgreSQL params, but it never seems to pass the params through. I looked at the documentation example here (link) for examples, and they didn't work. Here are some examples: query = """ SELECT * FROM schema.table_name """ conn = pg8000.connect(**credential_dict) cursor = conn.cursor() cursor