Working memory on the connection string for postgres instance
Only a select list of parameters are allowed directly in the connection string.  Others must be imbedded via the "options" parameter.  This leads to much ugliness and escaping and quoting challenges.

Here is an example that sets work_mem to 1234 kB: 

psql "postgresql://jjanes@localhost/jjanes?connect_timeout=10&amp;options=-c work_mem%3D1234"