Hello @ShellyIsGolden,
Glad to see you in our community. Welcome!
ChatGPT was not that wrong (😆), in fact that makes sense.
The PostgreSQL documentation refers that method as possible:
String url = "jdbc:postgresql://localhost:5432/postgres?options=-c%20search_path=test,public,pg_catalog%20-c%20statement_timeout=90000";
https://jdbc.postgresql.org/documentation/use/#connection-parameters
Have you tested the JDBC connection outside of NiFi?
Maybe with psql command like this:
psql -d postgresql://myurl:5432/mydatabase?options=-c%20search_path=myschema,public&stringtype=unspecified
Also, check with your PG team to see if that connect string is possible and test more on that side.
Regards,
Andrés Fallas
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs-up button.