sql

All things SQL and JDBC...
richiardiandrea 2021-01-30T01:17:40.050600Z

Hi all, I am trying to do a conversion from InputStream to Postgres' BYTEA - I am using clojure.java.jdbc - would ISQLParameter still the way to go?

seancorfield 2021-01-30T01:25:24.051100Z

@richiardiandrea Sounds right to me...

👍 1
richiardiandrea 2021-01-30T01:30:15.052500Z

on second thought, I think I don't actually want to set this as a global conversion - by this I mean InputStream -> BYTEA... I might just try to use the set-parameter

richiardiandrea 2021-01-30T01:31:09.052700Z

and the official example also does the same https://jdbc.postgresql.org/documentation/head/binary-data.html

richiardiandrea 2021-01-30T01:35:18.053Z

this does not play well with sqlvec and its params though