* Update PostgreSQL lib version and fix resource cleanup
- update the bundled PostgreSQL/libpq headers and static libraries to 18.4 (resolve#1802)
- adjust pgsql extension link inputs for the newer libpq split libraries, and drop unsupported macOS pgsql builds
- build connection parameters with instead of manually formatting a connection string
- make own and clear its , preventing leaks when prepared statements are executed repeatedly
- close prepared statements with when statement handles are destroyed
- track copied vs borrowed prepared-statement parameter buffers so borrowed strings/blobs are not freed (resolve#1946)
* Rebuild libs
---------
Co-authored-by: Nicholas Hastings <[email protected]>