Remove divergency between oracle and postgres codebase, rewrite proc to avoid duplication and give it a proper and correct documentation
Quoting commit that replaced db_list_of_lists with db_list, de facto hiding every additional column from results:
-------
Author: Peter Marklund <peter_marklund@fastmail.fm>
Date: Mon Nov 24 14:50:34 2003 +0000
changing the get_attachments procs to use db_list instead of db_list_of_lists and the PG query to only return the id
-------