is there a way i can execute a dump inside postgresql rather than executing an file such as pg_dump or pg_dumpall as i plan to have my application trigger the backup