[#51097595] use a legitimate gpdb database id when building the api_doc for creating an workfile