You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "bug_test.py", line 9, in <module>
asyncio.get_event_loop().run_until_complete(main())
File "/usr/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete
return future.result()
File "bug_test.py", line 6, in main
print(await conn.fetch('SELECT $1::test[]', ('a', 'b')))
File "/usr/lib/python3.6/site-packages/asyncpg/connection.py", line 269, in fetch
stmt = await self._get_statement(query, timeout)
File "/usr/lib/python3.6/site-packages/asyncpg/connection.py", line 221, in _get_statement
protocol.get_settings().register_data_types(types)
File "asyncpg/protocol/settings.pyx", line 32, in asyncpg.protocol.protocol.ConnectionSettings.register_data_types (asyncpg/protocol/protocol.c:4675)
File "asyncpg/protocol/settings.pyx", line 33, in asyncpg.protocol.protocol.ConnectionSettings.register_data_types (asyncpg/protocol/protocol.c:4598)
File "asyncpg/protocol/codecs/base.pyx", line 373, in asyncpg.protocol.protocol.DataCodecConfig.add_types (asyncpg/protocol/protocol.c:16334)
RuntimeError: no codec for array element type 25923
The text was updated successfully, but these errors were encountered:
rijenkii
changed the title
" no codec for array element type" with enum arrays
"no codec for array element type" with enum arrays
Apr 2, 2017
uvloop?: Yes
This issue is similar to #82 , but now with enums
Steps:
CREATE TYPE custom_type AS ENUM ('a', 'b');
The text was updated successfully, but these errors were encountered: