The attaches patch adds support to postgresql to ob-sql.el It achieves this in the same way the mysql support is done, by using the psql client with suitable command line arguments. Best, Harri Kiiskinen harkiisk@gmail.com