GitHub user michalc added a comment to the discussion: How to fetch int2vector 
fields in PostgreSQL (from Python)

>  (Including maybe, how to adjust the query?)

I have found that you can manipulate the result in SQL, and get an `int[]` out 
of it:

```sql
SELECT string_to_array(indoption::text, ' ')::int[] FROM pg_index LIMIT 1
```

Which then seems to behave much like psycopg

GitHub link: 
https://github.com/apache/arrow-adbc/discussions/2899#discussioncomment-13328900

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to