Support needed for char, regproc, oid array types
Bug #273123 reported by
Ilan Volow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pg8000 |
Fix Committed
|
Undecided
|
Mariano Reingart |
Bug Description
Here's three more PostgreSQL types that I found my code crashing on.
Below are the lines I added to the pg_types array in types.py to get them to work.
18: {"txt_in": varcharin}, # char type
24: {"bin_in": int4recv}, # regproc type
30: {"txt_in": varcharin}, # OID array type
The last two tend to get used when querying the pg_type table, which is probably the best way of testing the changes to make sure that they work.
Changed in pg8000: | |
assignee: | nobody → Mariano Reingart (reingart) |
Changed in pg8000: | |
status: | New → Fix Committed |
To post a comment you must log in.
I've made a maintenance fork:
http:// code.google. com/p/pg8000/
I've applied your patch, including also suport for OID[]:
http:// code.google. com/p/pg8000/ source/ detail? r=17c6d0feecd16 b403076016cb0e2 d85acf1bdd67
Thanks