GitHub user lidavidm added a comment to the discussion: Querying PostgreSQL 
generate_subscripts from Python with a dimension from bound parameters

Isn't that very out of date?

https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQDESCRIBEPREPARED

> [PQdescribePrepared](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQDESCRIBEPREPARED)
>  allows an application to obtain information about a previously prepared 
> statement.
> 
> stmtName can be "" or NULL to reference the unnamed statement, otherwise it 
> must be the name of an existing prepared statement. On success, a PGresult 
> with status PGRES_COMMAND_OK is returned. The functions 
> [PQnparams](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQNPARAMS)
>  and 
> [PQparamtype](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQPARAMTYPE)
>  can be applied to this PGresult to obtain information about the parameters 
> of the prepared statement, and the functions 
> [PQnfields](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQNFIELDS),
>  
> [PQfname](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQFNAME),
>  
> [PQftype](https://www.postgresql.org/docs/current/libpq-exec.html#LIBPQ-PQFTYPE),
>  etc. provide information about the result columns (if any) of the statement.

GitHub link: 
https://github.com/apache/arrow-adbc/discussions/2865#discussioncomment-13277664

----
This is an automatically sent email for user@arrow.apache.org.
To unsubscribe, please send an email to: user-unsubscr...@arrow.apache.org

Reply via email to