add postgresql database tasks